chore: format
This commit is contained in:
1 parent
2ce935bdb1
commit
e0bdef85ab
65 files changed
+211
-207
No files matched your search
@@ -2085,7 +2085,11 @@
|
||||
),
|
||||
features: getFeatures(),
|
||||
variables: {
|
||||
...getPromptVariables($user?.name, $settings?.userLocation ? userLocation : undefined, $user?.email)
|
||||
...getPromptVariables(
|
||||
$user?.name,
|
||||
$settings?.userLocation ? userLocation : undefined,
|
||||
$user?.email
|
||||
)
|
||||
},
|
||||
model_item: $models.find((m) => m.id === model.id),
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
align="end"
|
||||
transition={flyAndScale}
|
||||
>
|
||||
{#if (model?.preset || model?.info?.base_model_id) ? model?.info?.user_id === $user?.id : $user?.role === 'admin'}
|
||||
{#if model?.preset || model?.info?.base_model_id ? model?.info?.user_id === $user?.id : $user?.role === 'admin'}
|
||||
<DropdownMenu.Item
|
||||
type="button"
|
||||
class="flex rounded-xl py-1.5 px-3 w-full hover:bg-gray-50 dark:hover:bg-gray-800 transition items-center gap-2"
|
||||
@@ -121,8 +121,6 @@
|
||||
<div class="flex items-center">{$i18n.t('Copy Link')}</div>
|
||||
</DropdownMenu.Item>
|
||||
|
||||
|
||||
|
||||
{#if $config?.features.enable_community_sharing}
|
||||
<hr class="border-gray-50 dark:border-gray-800/30 my-1" />
|
||||
|
||||
|
||||
Reference in new issue
Block a user