Skip to content

Commit

Permalink
Merge pull request #6799 from nextcloud/fix/6152-Show-assistant-resul…
Browse files Browse the repository at this point in the history
…ts-does-not-have-any-results-shown-(emptycontent)

fix(files): switch action button to disabled state if results are empty
  • Loading branch information
max-nextcloud authored Dec 19, 2024
2 parents c0857c1 + 662e2c1 commit 713ffb9
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 713ffb9

Please sign in to comment.