fix: user can edit its own author from author list page

This commit is contained in:
Florian Sylvain committed 2026-10-30 20:48:46 +01:00
1 parent f084ccb66f
commit 39ff84e967
1 file changed
+2 -2
+2 -2
View File
@@ -151,12 +151,12 @@ function openAdd() {
function openEdit(author: Author, trigger: HTMLElement | null) {
rememberOpener(trigger)
panel.value = { kind: 'edit', author, own: false }
panel.value = openFor(author)
}
function openRow(author: Author) {
rememberOpener()
panel.value = { kind: 'view', author }
panel.value = openFor(author)
}
function closePanel() {