fix: lint

This commit is contained in:
jamesgeorge007
2019-11-20 18:07:52 +05:30
parent a0dd02ec07
commit a7d483ea1b

View File

@@ -209,13 +209,13 @@ export default {
types.push(typeMap[type]); types.push(typeMap[type]);
} }
} }
this.gqlTypes = types; this.gqlTypes = types;
this.$nuxt.$loading.finish(); this.$nuxt.$loading.finish();
const duration = Date.now() - startTime; const duration = Date.now() - startTime;
this.$toast.info(`Finished in ${duration}ms`, { this.$toast.info(`Finished in ${duration}ms`, {
icon: "done" icon: "done"
}); });
} catch(err) { } catch(err) {
this.$nuxt.$loading.finish(); this.$nuxt.$loading.finish();
this.schemaString = error + ". Check console for details."; this.schemaString = error + ". Check console for details.";