mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac: hide pipelines save button if not present
This commit is contained in:
parent
f6e7af346e
commit
82edd0e3d9
1 changed files with 10 additions and 8 deletions
|
|
@ -546,6 +546,7 @@
|
|||
{/if}
|
||||
</div>
|
||||
|
||||
{#if PIPELINES_LIST !== null && PIPELINES_LIST.length > 0}
|
||||
<div class="flex justify-end pt-3 text-sm font-medium">
|
||||
<button
|
||||
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
|
||||
|
|
@ -554,4 +555,5 @@
|
|||
{$i18n.t('Save')}
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in a new issue