Skip to content

Commit

Permalink
fix(files): switch action button to disabled state if results are empty
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <[email protected]>
  • Loading branch information
JuliaKirschenheuter committed Dec 18, 2024
1 parent 8586891 commit 662e2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Assistant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{{ t('text', 'Translate') }}
</NcActionButton>
<NcActionSeparator />
<NcActionButton close-after-click @click="showTaskList=true">
<NcActionButton :disabled="tasks.length < 1" close-after-click @click="showTaskList=true">
<template #icon>
<CreationIcon :size="20" />
</template>
Expand Down

0 comments on commit 662e2c1

Please sign in to comment.