DEV: Allow clearing topic ID when testing integration (#249)
This commit is contained in:
		
							parent
							
								
									4e892a714b
								
							
						
					
					
						commit
						860cc6751e
					
				| 
						 | 
				
			
			@ -17,7 +17,10 @@
 | 
			
		|||
            </label>
 | 
			
		||||
          </td>
 | 
			
		||||
          <td>
 | 
			
		||||
            <ChooseTopic @topicChangedCallback={{this.newTopicSelected}} />
 | 
			
		||||
            <ChooseTopic
 | 
			
		||||
              @topicChangedCallback={{this.newTopicSelected}}
 | 
			
		||||
              @selectedTopicId={{this.topicId}}
 | 
			
		||||
            />
 | 
			
		||||
          </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
      </tbody>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,6 +32,6 @@ export default class TestIntegration extends Component {
 | 
			
		|||
 | 
			
		||||
  @action
 | 
			
		||||
  newTopicSelected(topic) {
 | 
			
		||||
    this.topicId = topic.id;
 | 
			
		||||
    this.topicId = topic?.id;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue