Improving Lighthouse score

This commit is contained in:
Liyas Thomas
2020-01-28 20:02:07 +05:30
parent 92d8878c38
commit 2c0b8b5f8e
2 changed files with 4 additions and 4 deletions

View File

@@ -305,11 +305,13 @@
(fb.currentUser.email ||
'<label><i>Email not found</i></label>')
"
aria-label="Account"
>
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
class="material-icons"
alt="Profile image"
/>
<i v-else class="material-icons">account_circle</i>
</button>
@@ -665,8 +667,8 @@ import intializePwa from "../assets/js/pwa";
import * as version from "../.postwoman/version.json";
import { hasChromeExtensionInstalled } from "../functions/strategies/ChromeStrategy";
import firebase from 'firebase/app';
import { fb } from '../functions/fb';
import firebase from "firebase/app";
import { fb } from "../functions/fb";
export default {
components: {

View File

@@ -812,9 +812,7 @@ export default {
}
}
this.gqlTypes = types;
this.$refs.queryEditor.setValidationSchema(schema);
this.$nuxt.$loading.finish();
const duration = Date.now() - startTime;
this.$toast.info(this.$t("finished_in", { duration }), {