Skip to content

Commit e3e8a40

Browse files
committed
fix(dialog): always show the toggles in the per-recipient permission modal
The modal passed through the panel's "custom preset selected" flag, so the permission toggles were hidden whenever the recipient's permissions matched a preset — and disappeared mid-edit as soon as the toggles happened to match one. The modal is the custom-permission editor, so its toggles are always shown. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 5389ae5 commit e3e8a40

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎lib/dialog/components/RecipientRow.vue‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
class="recipient-row__editor"
5454
:presetOptions="presetOptions"
5555
:selectedPreset="selectedPreset"
56-
:showPermissions="showPermissions"
56+
:showPermissions="true"
5757
:permissions="permissions"
5858
:permissionErrors="permissionErrors"
5959
:presetError="presetError"
@@ -101,7 +101,6 @@ const isNoUser = computed(() => props.recipient.class !== RECIPIENT_TYPE_USER)
101101
const {
102102
presetOptions,
103103
selectedPreset,
104-
showPermissions,
105104
permissions,
106105
notice,
107106
permissionErrors,

0 commit comments

Comments
 (0)