diff --git a/frontend/src/views/admin/DockerImagesView.vue b/frontend/src/views/admin/DockerImagesView.vue index 5b70f6c7..5d5a3847 100644 --- a/frontend/src/views/admin/DockerImagesView.vue +++ b/frontend/src/views/admin/DockerImagesView.vue @@ -40,9 +40,10 @@ const editItem = ref(DockerImage.blankDockerImage()); const addItem = ref(DockerImage.blankDockerImage()); const selectOptions = ref(['admin.list', 'admin.add']); -const selected = ref(t(selectOptions.value[0])); +const selectedOption = ref(t(selectOptions.value[0])); const multiRemove = ref(false); +const selectedItems = ref(null); const columns = ref([ { field: 'id', header: 'admin.id' }, @@ -86,6 +87,7 @@ const removeItem = async (): Promise => { const onSelect = (selected: any[] | null): void => { multiRemove.value = (selected?.length === undefined || selected?.length === 0) ?? false; + selectedItems.value = selected; }; @@ -95,8 +97,8 @@ const onSelect = (selected: any[] | null): void => {
{{ t('admin.docker_images.title') }}
- -
+ +