Skip to content

Commit 0182c53

Browse files
committed
disabled moderation button when no projects
1 parent 9578c97 commit 0182c53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/frontend/src/pages/moderation/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<ButtonStyled color="orange" class="w-full sm:w-auto">
6565
<button
6666
class="flex !h-[40px] w-full items-center justify-center gap-2 sm:w-auto"
67+
:disabled="paginatedProjects?.length === 0"
6768
@click="moderateAllInFilter()"
6869
>
6970
<ScaleIcon class="flex-shrink-0" />

0 commit comments

Comments
 (0)