mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 02:51:57 +03:00
show dismiss button if up-to-date
This commit is contained in:
parent
422ce4f308
commit
238a26b4ae
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<p class="text-13 text-body modal-caption">
|
<p class="text-13 text-body modal-caption">
|
||||||
{#if status === 'UPTODATE'}
|
{#if status === 'UPTODATE'}
|
||||||
You're on GitButler {currentVersion}, which is the most up-to-date version.
|
You're on GitButler {$currentVersion}, which is the most up-to-date version.
|
||||||
{:else}
|
{:else}
|
||||||
Upgrade now for the latest features.
|
Upgrade now for the latest features.
|
||||||
<br />
|
<br />
|
||||||
@ -85,6 +85,10 @@
|
|||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#if status === 'UPTODATE'}
|
||||||
|
<Button style="pop" kind="solid" wide outline onclick={handleDismiss}>Got it!</Button>
|
||||||
|
{:else}
|
||||||
<Button
|
<Button
|
||||||
style="pop"
|
style="pop"
|
||||||
kind="solid"
|
kind="solid"
|
||||||
@ -104,6 +108,7 @@
|
|||||||
Download {version}
|
Download {version}
|
||||||
{/if}
|
{/if}
|
||||||
</Button>
|
</Button>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user