misc fixes

This commit is contained in:
Drew Ansbacher
2021-08-26 11:04:38 -06:00
committed by Aiden McClelland
parent 95c95a9fe4
commit 9d52149a0d
3 changed files with 26 additions and 21 deletions

View File

@@ -107,7 +107,7 @@ export class AppConfigPage {
}
async dismiss () {
if (this.configForm.dirty) {
if (this.configForm?.dirty) {
await this.presentAlertUnsaved()
} else {
this.modalCtrl.dismiss()