Skip to content
Snippets Groups Projects
Verified Commit a464c777 authored by Kotyba Alhaj Taha's avatar Kotyba Alhaj Taha
Browse files

Fix names

parent 0d2c6186
No related branches found
No related tags found
2 merge requests!92Feature restructure frontend platforms,!82Restructure frontend
......@@ -158,7 +158,7 @@ export default class AttachmentEditPage extends Vue {
this.$router.push('/devices/' + this.deviceId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save measured quantity')
this.$store.commit('snackbar/setError', 'Failed to save attachments')
})
}
}
......
......@@ -145,7 +145,7 @@ export default class AttachmentAddPage extends mixins(Rules) {
this.$router.push('/devices/' + this.deviceId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save measured quantity')
this.$store.commit('snackbar/setError', 'Failed to save attachments')
})
}
......
......@@ -128,7 +128,7 @@ export default class AttachmentEditPage extends Vue {
this.$router.push('/platforms/' + this.platformId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save an attachment')
this.$store.commit('snackbar/setError', 'Failed to save attachments')
})
}
}
......
......@@ -115,7 +115,7 @@ export default class AttachmentAddPage extends mixins(Rules) {
this.$router.push('/platforms/' + this.platformId + '/attachments')
}).catch(() => {
this.$emit('showsave', false)
this.$store.commit('snackbar/setError', 'Failed to save measured quantity')
this.$store.commit('snackbar/setError', 'Failed to save attachments')
})
}
......
......@@ -49,7 +49,7 @@ import ProgressIndicator from '@/components/ProgressIndicator.vue'
ProgressIndicator
}
})
export default class DeviceAddContactPage extends Vue {
export default class PlatformAddContactPage extends Vue {
private alreadyUsedContacts: Contact[] = []
private allContacts: Contact[] = []
private selectedContact: Contact | null = null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment