Skip to content
Snippets Groups Projects
Commit 72d1724a authored by Dominik Seeger's avatar Dominik Seeger Committed by Dominik Seeger
Browse files

added no connection message and changed final checkbox tooltip

parent 18097087
No related branches found
No related tags found
1 merge request!166added no connection message and changed final checkbox tooltip
Pipeline #100013 passed
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
v-model="isFinal" v-model="isFinal"
class="final-checkbox" /> class="final-checkbox" />
</v-toolbar-items> </v-toolbar-items>
<span>Non final feedback will be sent to the reviewer.</span> <span>If unchecked this submission will be marked for review by the lecturer</span>
</v-tooltip> </v-tooltip>
</v-flex> </v-flex>
<v-flex xs> <v-flex xs>
......
...@@ -79,8 +79,13 @@ export default { ...@@ -79,8 +79,13 @@ export default {
}).then(() => { }).then(() => {
this.$router.push({ name: 'home' }) this.$router.push({ name: 'home' })
this.loading = false this.loading = false
}).catch((er) => { }).catch((err) => {
Auth.SET_MESSAGE("Login failed. Please try again.") let msg = "Login failed. Please try again."
if (typeof err === "string") {
msg = err
}
Auth.SET_MESSAGE(msg)
this.loading = false this.loading = false
}) })
}, },
......
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