mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-29 11:30:41 +12:00
0.1.3 release candidate 1 hotfix
This commit is contained in:
parent
3a387b5223
commit
c4a31f17ab
|
@ -29,6 +29,7 @@
|
|||
<script lang="ts">
|
||||
|
||||
import { Component, Watch } from "vue-property-decorator"
|
||||
import { remote } from "electron"
|
||||
|
||||
import DialogBase from "src/components/dialogs/_DialogBase"
|
||||
@Component({
|
||||
|
@ -46,7 +47,7 @@ export default class AboutApp extends DialogBase {
|
|||
}
|
||||
}
|
||||
|
||||
appVersion = process.env.npm_package_version
|
||||
appVersion = remote.app.getVersion()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
@hide="triggerDialogClose"
|
||||
>
|
||||
<q-card dark>
|
||||
|
||||
<q-card-section class="row justify-center">
|
||||
<h6 class="text-center q-my-sm">You have unsaved documents opened!</h6>
|
||||
</q-card-section>
|
||||
|
@ -77,9 +78,6 @@ export default class ProjectCloseCheck extends DialogBase {
|
|||
@Watch("dialogTrigger")
|
||||
openDialog (val: string|false) {
|
||||
if (val) {
|
||||
if (this.SGET_getDialogsState) {
|
||||
return
|
||||
}
|
||||
this.SSET_setDialogState(true)
|
||||
this.checkForDocumentsWithEdits()
|
||||
}
|
||||
|
@ -124,4 +122,5 @@ export default class ProjectCloseCheck extends DialogBase {
|
|||
.projectCloseDalogList {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue