Skip to content

Commit 8886e52

Browse files
author
Yuan Huang
committed
fix: use v-model on md-switch instead of :value to fix render crash
1 parent 902bf9b commit 8886e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dashboard-client/src/components/user/UserGlobalTokens.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
</md-table-cell>
255255
<md-table-cell>{{ t.last_used_at ? formatDate(t.last_used_at) : '—' }}</md-table-cell>
256256
<md-table-cell>
257-
<md-switch :value="t.allow_trigger" @change="toggleMcpTrigger(t)" class="mcp-trigger-switch"></md-switch>
257+
<md-switch v-model="t.allow_trigger" @change="toggleMcpTrigger(t)" class="mcp-trigger-switch"></md-switch>
258258
</md-table-cell>
259259
<md-table-cell>
260260
<md-button class="md-icon-button" @click="confirmMcpRevoke(t)">

0 commit comments

Comments
 (0)