Browse Source
Merge pull request #6687 from Budibase/app-update-icon
Add version modal back into builder
master
Martin McKeaveney
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
1 deletions
-
packages/builder/src/components/deploy/VersionModal.svelte
-
packages/builder/src/pages/builder/app/[application]/_layout.svelte
|
|
|
@ -69,7 +69,14 @@ |
|
|
|
|
|
|
|
{#if !hideIcon} |
|
|
|
<div class="icon-wrapper" class:highlight={updateAvailable}> |
|
|
|
<Icon name="Refresh" hoverable on:click={updateModal.show} /> |
|
|
|
<Icon |
|
|
|
name="Refresh" |
|
|
|
hoverable |
|
|
|
on:click={updateModal.show} |
|
|
|
tooltip={updateAvailable |
|
|
|
? "An update is available" |
|
|
|
: "No updates are available"} |
|
|
|
/> |
|
|
|
</div> |
|
|
|
{/if} |
|
|
|
<Modal bind:this={updateModal}> |
|
|
|
|
|
|
|
@ -3,6 +3,7 @@ |
|
|
|
import { roles, flags } from "stores/backend" |
|
|
|
import { Icon, Tabs, Tab, Heading, notifications } from "@budibase/bbui" |
|
|
|
import RevertModal from "components/deploy/RevertModal.svelte" |
|
|
|
import VersionModal from "components/deploy/VersionModal.svelte" |
|
|
|
import DeployNavigation from "components/deploy/DeployNavigation.svelte" |
|
|
|
import { API } from "api" |
|
|
|
import { isActive, goto, layout, redirect } from "@roxi/routify" |
|
|
|
@ -107,6 +108,7 @@ |
|
|
|
</Tabs> |
|
|
|
</div> |
|
|
|
<div class="toprightnav"> |
|
|
|
<VersionModal /> |
|
|
|
<RevertModal /> |
|
|
|
<Icon |
|
|
|
name="Visibility" |
|
|
|
|