Skip to content

Commit 754b70d

Browse files
committed
fix(content): keep toggle disabled while awaiting reply
Signed-off-by: Evan Song <theevansong@gmail.com>
1 parent b472608 commit 754b70d

File tree

1 file changed

+1
-0
lines changed
  • apps/frontend/src/pages/servers/manage/[id]/content

1 file changed

+1
-0
lines changed

apps/frontend/src/pages/servers/manage/[id]/content/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@
153153
<input
154154
:id="`toggle-${mod.project_id}`"
155155
:checked="!mod.disabled"
156+
:disabled="mod.project_id ? modActionsInProgress[mod.project_id] : false"
156157
class="switch stylized-toggle"
157158
type="checkbox"
158159
@change="toggleModOptimistic(mod)"

0 commit comments

Comments
 (0)