mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
d509ca1133
commit
bcfe1a087f
1 changed files with 2 additions and 0 deletions
|
|
@ -771,6 +771,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={note.title}
|
bind:value={note.title}
|
||||||
placeholder={$i18n.t('Title')}
|
placeholder={$i18n.t('Title')}
|
||||||
|
disabled={note?.user_id !== $user?.id && $user?.role !== 'admin'}
|
||||||
required
|
required
|
||||||
on:input={changeDebounceHandler}
|
on:input={changeDebounceHandler}
|
||||||
/>
|
/>
|
||||||
|
|
@ -900,6 +901,7 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showAccessControlModal = true;
|
showAccessControlModal = true;
|
||||||
}}
|
}}
|
||||||
|
disabled={note?.user_id !== $user?.id && $user?.role !== 'admin'}
|
||||||
>
|
>
|
||||||
<Users className="size-3.5" strokeWidth="2" />
|
<Users className="size-3.5" strokeWidth="2" />
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue