refac: hide pipelines save button if not present

This commit is contained in:
Timothy J. Baek 2024-10-19 02:53:50 -07:00
parent f6e7af346e
commit 82edd0e3d9

View File

@ -546,6 +546,7 @@
{/if} {/if}
</div> </div>
{#if PIPELINES_LIST !== null && PIPELINES_LIST.length > 0}
<div class="flex justify-end pt-3 text-sm font-medium"> <div class="flex justify-end pt-3 text-sm font-medium">
<button <button
class=" px-4 py-2 bg-emerald-700 hover:bg-emerald-800 text-gray-100 transition rounded-lg" 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')} {$i18n.t('Save')}
</button> </button>
</div> </div>
{/if}
</form> </form>