From 38701915fe29ca8916bad8d692e1dc4df45c3811 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Fri, 6 Oct 2023 13:15:21 -0700 Subject: [PATCH] Fix bug where entity types created via Modal don't appear in combobox (#3855) --- .../static/dispatch/src/entity/EntityFilterCombobox.vue | 4 ++-- .../dispatch/src/entity_type/EntityTypeFilterCombobox.vue | 4 ++-- src/dispatch/static/dispatch/src/signal/NewEditDialog.vue | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/dispatch/static/dispatch/src/entity/EntityFilterCombobox.vue b/src/dispatch/static/dispatch/src/entity/EntityFilterCombobox.vue index 25c1bbf5c520..5714fa75b7af 100644 --- a/src/dispatch/static/dispatch/src/entity/EntityFilterCombobox.vue +++ b/src/dispatch/static/dispatch/src/entity/EntityFilterCombobox.vue @@ -55,7 +55,7 @@ import SearchUtils from "@/search/utils" import EntityApi from "@/entity/api" export default { - name: "EntityCombobox", + name: "EntityFilterCombobox", props: { value: { @@ -64,7 +64,7 @@ export default { }, label: { type: String, - default: "Add Entity Types", + default: "Add Entities", }, model: { type: String, diff --git a/src/dispatch/static/dispatch/src/entity_type/EntityTypeFilterCombobox.vue b/src/dispatch/static/dispatch/src/entity_type/EntityTypeFilterCombobox.vue index f21795b84571..211c8ca8458f 100644 --- a/src/dispatch/static/dispatch/src/entity_type/EntityTypeFilterCombobox.vue +++ b/src/dispatch/static/dispatch/src/entity_type/EntityTypeFilterCombobox.vue @@ -118,7 +118,7 @@ export default { }, label: { type: String, - default: "Add Entity Types", + default: "Add Entity Type Filters", }, model: { type: String, @@ -198,7 +198,7 @@ export default { ...filterOptions, filters: { project: [this.project], - scope: ["multiple"], + scope: ["multiple", "single"], }, } filterOptions = SearchUtils.createParametersFromTableOptions({ ...filterOptions }) diff --git a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue index f683dbeaa3e6..d3ff59f0b4b7 100644 --- a/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue +++ b/src/dispatch/static/dispatch/src/signal/NewEditDialog.vue @@ -217,6 +217,7 @@ v-model="entity_types" :project="project" :signalDefinition="selected" + label="Add Entity Types" />