Zapri pojem form po predlogu

pull/42/head
Jurij Podgoršek 2024-01-17 22:20:56 +01:00 committed by Lio Novelli
parent afe0878f6d
commit fb75e98054
2 changed files with 6 additions and 7 deletions

View File

@ -49,7 +49,7 @@ onMounted(() => {
:revisionId="revisionId"
:pojem="pojem"
:urejanje="urejanje"
:onZapri="()=>urejanje=false" />
:onZapri="() => { urejanje = false; store.naloziPojme() }" />
<div>
<div v-if="!urejanje" class="gumb" @click="urediPojem">Uredi</div>
</div>

View File

@ -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 => {