mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 16:59:42 +00:00
refac: hide pipelines save button if not present
This commit is contained in:
parent
f6e7af346e
commit
82edd0e3d9
@ -546,12 +546,14 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-end pt-3 text-sm font-medium">
|
{#if PIPELINES_LIST !== null && PIPELINES_LIST.length > 0}
|
||||||
<button
|
<div class="flex justify-end pt-3 text-sm font-medium">
|
||||||
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
|
<button
|
||||||
type="submit"
|
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg"
|
||||||
>
|
type="submit"
|
||||||
{$i18n.t('Save')}
|
>
|
||||||
</button>
|
{$i18n.t('Save')}
|
||||||
</div>
|
</button>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user