We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6201005 + 7e61909 commit 1064420Copy full SHA for 1064420
1 file changed
custom/imageGenerator.vue
@@ -143,7 +143,7 @@
143
<span class="sr-only">{{ $t('Previous') }}</span>
144
</button>
145
<button type="button" class="inline-flex items-center justify-center w-8 h-8 rounded-full border border-gray-200 dark:border-gray-600 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 disabled:opacity-30 disabled:cursor-not-allowed transition shadow-sm"
146
- :disabled="loading"
+ :disabled="loading || images.length === 0"
147
@click="slide(1)"
148
>
149
<svg class="w-4 h-4 text-gray-700 dark:text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
0 commit comments