mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 02:07:46 -05:00
fix(a11y): the on/off switch on a Prompts row isn't nested inside another button (#32928)
This commit is contained in:
1 file changed
+3
-4
@@ -736,10 +736,9 @@
|
||||
</button>
|
||||
</PromptMenu>
|
||||
|
||||
<button
|
||||
<div
|
||||
class="flex h-6 items-center"
|
||||
type="button"
|
||||
disabled={!prompt.write_access}
|
||||
role="presentation"
|
||||
on:click={(e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
@@ -759,7 +758,7 @@
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user