Skip to content

Commit

Permalink
fix: #397
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Sep 26, 2024
1 parent 957a537 commit c8ff69c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/components/sentence/AttributeTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@
:options-sanitize="true"
@input-value="onInput()"
/>
<q-select
v-else-if="computeValueOptions(props.row) !== undefined && computeValueOptions(props.row).length ===1"
v-model="computeValueOptions(props.row)[0]"
dense
filled
readonly
hide-dropdown-icon
>
</q-select>
<q-select
v-else
:key="key"
Expand Down
2 changes: 0 additions & 2 deletions src/components/sentence/RelationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ import { sentence_bus_t } from 'src/types/main_types';
import { notifyMessage } from 'src/utils/notify';
import { PropType, defineComponent } from 'vue';
import AttributeTable from './AttributeTable.vue';
export default defineComponent({
components: { AttributeTable },
props: {
sentenceBus: {
type: Object as PropType<sentence_bus_t>,
Expand Down

0 comments on commit c8ff69c

Please sign in to comment.