Fixed linting formatting
This commit is contained in:
parent
3ad1041a7b
commit
1ca7f1b124
2 changed files with 16 additions and 9 deletions
|
@ -62,7 +62,11 @@
|
||||||
>
|
>
|
||||||
</b-form-timepicker>
|
</b-form-timepicker>
|
||||||
</b-form-group>
|
</b-form-group>
|
||||||
<b-form-group id="duration-group" label="Duration [seconds]" label-for="duration">
|
<b-form-group
|
||||||
|
id="duration-group"
|
||||||
|
label="Duration [seconds]"
|
||||||
|
label-for="duration"
|
||||||
|
>
|
||||||
<b-form-input
|
<b-form-input
|
||||||
id="duration"
|
id="duration"
|
||||||
v-model="times.duration"
|
v-model="times.duration"
|
||||||
|
@ -163,10 +167,13 @@ export default {
|
||||||
this.failed = false;
|
this.failed = false;
|
||||||
this.working = true;
|
this.working = true;
|
||||||
|
|
||||||
store.dispatch("updateRecord", this.resultRecord).then(() => {
|
store
|
||||||
|
.dispatch("updateRecord", this.resultRecord)
|
||||||
|
.then(() => {
|
||||||
this.working = false;
|
this.working = false;
|
||||||
this.$emit("submit");
|
this.$emit("submit");
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
this.failed = true;
|
this.failed = true;
|
||||||
this.working = false;
|
this.working = false;
|
||||||
});
|
});
|
||||||
|
|
|
@ -9,7 +9,7 @@ Vue.use(Vuex);
|
||||||
export default new Vuex.Store({
|
export default new Vuex.Store({
|
||||||
modules: {
|
modules: {
|
||||||
juggl
|
juggl
|
||||||
},
|
}
|
||||||
// plugins: [
|
// plugins: [
|
||||||
// createPersistedState({
|
// createPersistedState({
|
||||||
// storage: window.localStorage
|
// storage: window.localStorage
|
||||||
|
|
Loading…
Reference in a new issue