{#if status === 'draft'} {:else if status === 'published'} {isLoading ? 'Saving...' : 'Save'} {:else} {isLoading ? 'Saving...' : 'Save'} {/if}