mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 03:03:27 -06:00
refac
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user