- Fixed issue #3
- showing analyzer window only on startup not on empty part number list.
This commit is contained in:
parent
ebcd50e9a2
commit
2ef67c78eb
1 changed files with 5 additions and 3 deletions
|
|
@ -22,6 +22,7 @@
|
|||
</div>
|
||||
<div class="part-number-modal-action">
|
||||
<basic-button @click="parsePartNumbers" icon="CloudArrowUp">Analyze input</basic-button>
|
||||
<basic-button @click="closeModal('partNumber')" :show-icon="false" variant="secondary">Cancel</basic-button>
|
||||
</div>
|
||||
</div>
|
||||
</modal>
|
||||
|
|
@ -92,13 +93,13 @@ export default {
|
|||
computed: {
|
||||
...mapStores(useNodeStore, useAssistantStore),
|
||||
showPartNumberModal() {
|
||||
return this.assistantStore.materials.length === 0 || this.partNumberModalState;
|
||||
return this.partNumberModalState;
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
newSupplierModalState: false,
|
||||
partNumberModalState: false,
|
||||
partNumberModalState: true,
|
||||
partNumberField: ''
|
||||
}
|
||||
},
|
||||
|
|
@ -151,7 +152,7 @@ export default {
|
|||
this.closeModal('partNumber');
|
||||
this.assistantStore.getMaterialsAndSuppliers(this.partNumberField);
|
||||
this.partNumberField = '';
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.nodeStore.loadNodes();
|
||||
|
|
@ -219,6 +220,7 @@ textarea {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 1.6rem
|
||||
}
|
||||
|
||||
.part-numbers-headers {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue