mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-11 03:38:02 +00:00
refac
This commit is contained in:
parent
79702261b0
commit
371ed44b2c
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
|||
placeholder={$i18n.t('Search actions')}
|
||||
emptyLabel={$i18n.t('No actions found')}
|
||||
emptyHint={$i18n.t('Add actions in the Functions workspace.')}
|
||||
workspaceHref={$user?.role === 'admin' ? '/workspace/functions' : ''}
|
||||
workspaceHref={$user?.role === 'admin' ? '/admin/functions' : ''}
|
||||
variant="dropdown"
|
||||
on:select={(e) => {
|
||||
selectedActionIds = selectedActionIds.includes(e.detail.id)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
placeholder={$i18n.t('Search filters')}
|
||||
emptyLabel={$i18n.t('No filters found')}
|
||||
emptyHint={$i18n.t('Add filters in the Functions workspace.')}
|
||||
workspaceHref={$user?.role === 'admin' ? '/workspace/functions' : ''}
|
||||
workspaceHref={$user?.role === 'admin' ? '/admin/functions' : ''}
|
||||
variant="dropdown"
|
||||
on:select={(e) => {
|
||||
selectedFilterIds = selectedFilterIds.includes(e.detail.id)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue