diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue
index accf92fc6..794d86e6b 100644
--- a/src/components/common/VnSelectFilter.vue
+++ b/src/components/common/VnSelectFilter.vue
@@ -79,7 +79,7 @@ onMounted(() => {
if ($props.url && $props.modelValue) fetchFilter($props.modelValue);
});
-async function filter(val, options) {
+function filter(val, options) {
const search = val.toString().toLowerCase();
if (!search) return options;
@@ -119,7 +119,7 @@ async function filterHandler(val, update) {
myOptions.value = await fetchFilter(val);
return;
}
- myOptions.value = await filter(val, myOptionsOriginal.value);
+ myOptions.value = filter(val, myOptionsOriginal.value);
},
(ref) => {
if (val !== '' && ref.options.length > 0) {
diff --git a/src/pages/Worker/Card/WorkerSummaryDialog.vue b/src/components/common/VnSummaryDialog.vue
similarity index 61%
rename from src/pages/Worker/Card/WorkerSummaryDialog.vue
rename to src/components/common/VnSummaryDialog.vue
index 59ea702e0..08fc8870d 100644
--- a/src/pages/Worker/Card/WorkerSummaryDialog.vue
+++ b/src/components/common/VnSummaryDialog.vue
@@ -1,21 +1,23 @@
-
-
-
+
+
diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue
index 8f6ffa35d..0e7218892 100644
--- a/src/components/ui/CardDescriptor.vue
+++ b/src/components/ui/CardDescriptor.vue
@@ -1,9 +1,9 @@
@@ -81,7 +72,7 @@ function viewSummary(id) {