mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-29 06:32:52 +00:00
fix(a11y): the on/off switch on a Prompts row isn't nested inside another button (#32928)
This commit is contained in:
parent
61b49c2dd7
commit
7fe27647d4
1 changed files with 3 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue