diff --git a/app/javascript/dashboard/components/widgets/conversation/linear/SearchEmptyState.vue b/app/javascript/dashboard/components/widgets/conversation/linear/SearchEmptyState.vue deleted file mode 100644 index ccf9b2b1e..000000000 --- a/app/javascript/dashboard/components/widgets/conversation/linear/SearchEmptyState.vue +++ /dev/null @@ -1,15 +0,0 @@ - - diff --git a/app/javascript/dashboard/components/widgets/conversation/linear/SearchIssueItem.vue b/app/javascript/dashboard/components/widgets/conversation/linear/SearchIssueItem.vue index 3566686e1..e46e9de33 100644 --- a/app/javascript/dashboard/components/widgets/conversation/linear/SearchIssueItem.vue +++ b/app/javascript/dashboard/components/widgets/conversation/linear/SearchIssueItem.vue @@ -31,6 +31,5 @@ defineProps({ class="flex-shrink-0 text-slate-900 dark:text-slate-50" /> - diff --git a/app/javascript/dashboard/components/widgets/conversation/linear/SearchListDropdown.vue b/app/javascript/dashboard/components/widgets/conversation/linear/SearchListDropdown.vue index f4d517d26..da657a8a9 100644 --- a/app/javascript/dashboard/components/widgets/conversation/linear/SearchListDropdown.vue +++ b/app/javascript/dashboard/components/widgets/conversation/linear/SearchListDropdown.vue @@ -3,7 +3,6 @@ import { ref, computed } from 'vue'; import { picoSearch } from '@scmmishra/pico-search'; import SearchIssueItem from './SearchIssueItem.vue'; import SearchBar from './SearchBar.vue'; -import SearchEmptyState from './SearchEmptyState.vue'; const props = defineProps({ items: { @@ -29,11 +28,11 @@ const filteredItems = computed(() => { return picoSearch(props.items, searchTerm.value, ['name']); }); -const isDropdownListEmpty = computed(() => { +const isListEmpty = computed(() => { return !filteredItems.value.length; }); -const isFilterActive = id => { +const isActive = id => { if (!props.selectedId) return false; return id === props.selectedId; }; @@ -43,25 +42,20 @@ const isFilterActive = id => { class="absolute z-20 w-full bg-white border shadow dark:bg-slate-800 rounded-xl border-slate-50 dark:border-slate-700/50 max-h-[400px]" @click.stop > - - - - - - - + + +
+ {{ $t('INTEGRATION_SETTINGS.LINEAR.LINK.EMPTY_LIST') }} +
+