⚡ Improving Lighthouse score
This commit is contained in:
@@ -305,11 +305,13 @@
|
|||||||
(fb.currentUser.email ||
|
(fb.currentUser.email ||
|
||||||
'<label><i>Email not found</i></label>')
|
'<label><i>Email not found</i></label>')
|
||||||
"
|
"
|
||||||
|
aria-label="Account"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="fb.currentUser.photoURL"
|
v-if="fb.currentUser.photoURL"
|
||||||
:src="fb.currentUser.photoURL"
|
:src="fb.currentUser.photoURL"
|
||||||
class="material-icons"
|
class="material-icons"
|
||||||
|
alt="Profile image"
|
||||||
/>
|
/>
|
||||||
<i v-else class="material-icons">account_circle</i>
|
<i v-else class="material-icons">account_circle</i>
|
||||||
</button>
|
</button>
|
||||||
@@ -665,8 +667,8 @@ import intializePwa from "../assets/js/pwa";
|
|||||||
import * as version from "../.postwoman/version.json";
|
import * as version from "../.postwoman/version.json";
|
||||||
import { hasChromeExtensionInstalled } from "../functions/strategies/ChromeStrategy";
|
import { hasChromeExtensionInstalled } from "../functions/strategies/ChromeStrategy";
|
||||||
|
|
||||||
import firebase from 'firebase/app';
|
import firebase from "firebase/app";
|
||||||
import { fb } from '../functions/fb';
|
import { fb } from "../functions/fb";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -812,9 +812,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.gqlTypes = types;
|
this.gqlTypes = types;
|
||||||
|
|
||||||
this.$refs.queryEditor.setValidationSchema(schema);
|
this.$refs.queryEditor.setValidationSchema(schema);
|
||||||
|
|
||||||
this.$nuxt.$loading.finish();
|
this.$nuxt.$loading.finish();
|
||||||
const duration = Date.now() - startTime;
|
const duration = Date.now() - startTime;
|
||||||
this.$toast.info(this.$t("finished_in", { duration }), {
|
this.$toast.info(this.$t("finished_in", { duration }), {
|
||||||
|
|||||||
Reference in New Issue
Block a user