diff --git a/nuxt/components/Pojem.vue b/nuxt/components/Pojem.vue index 703743d..718fab7 100644 --- a/nuxt/components/Pojem.vue +++ b/nuxt/components/Pojem.vue @@ -45,11 +45,11 @@ onMounted(() => {

{{ pojem.naslov }}

- + :onZapri="() => { urejanje = false; store.naloziPojme() }" />
Uredi
@@ -76,7 +76,7 @@ onMounted(() => { margin-left: 32px; gap: 1rem; } - + .pojem > div { position: relative; width: 50%; diff --git a/nuxt/components/PojemForm.vue b/nuxt/components/PojemForm.vue index a022499..44367ee 100644 --- a/nuxt/components/PojemForm.vue +++ b/nuxt/components/PojemForm.vue @@ -24,8 +24,7 @@ const oddajPredlog = async data => { uuid: props.revisionId }) alert("sprememba predlagana!") - // @TODO vrni urejanje v navaden prikaz, ko je konĨano! - urejanje.set(false) + props.onZapri() } const etherNalozen = ev => { @@ -46,7 +45,7 @@ const etherNalozen = ev => { - +