1
0
Fork 0
mirror of synced 2024-07-16 11:45:47 +12:00

UX feedback

This commit is contained in:
Dean 2024-05-15 14:43:38 +01:00
parent bfa66aeb06
commit e724435a35
2 changed files with 8 additions and 1 deletions

View file

@ -9,11 +9,13 @@
import * as appValidation from "helpers/validation/yup/app"
import EditableIcon from "components/common/EditableIcon.svelte"
import { isEqual } from "lodash"
import { createEventDispatcher } from "svelte"
export let alignActions = "left"
const values = writable({})
const validation = createValidationStore()
const dispatch = createEventDispatcher()
let updating = false
let edited = false
@ -173,6 +175,7 @@
updating = true
await updateApp()
updating = false
dispatch("updated")
}}
disabled={appDeployed || updating || !edited || !$validation.valid}
>

View file

@ -39,7 +39,11 @@
>
<Layout noPadding gap="M">
<div class="popover-content">
<UpdateAppForm />
<UpdateAppForm
on:updated={() => {
formPopover.hide()
}}
/>
</div>
</Layout>
</Popover>