There was an error while loading. Please reload this page.
1 parent 7c16cc2 commit 738caafCopy full SHA for 738caaf
1 file changed
src/app.js
@@ -53,6 +53,7 @@ let appSpec = {
53
// TODO move this to Score
54
testTime: 0,
55
favicon: '',
56
+ mounted: false,
57
};
58
},
59
@@ -61,11 +62,20 @@ let appSpec = {
61
62
this.featureTypeTitles = featureTypeTitles;
63
64
65
+ mounted() {
66
+ this.updateFavicon();
67
+ this.mounted = true;
68
+ },
69
+
70
computed: {
71
/** Sorted and filtered specs
72
* @type {Spec[]}
73
*/
74
specs () {
75
+ if (!this.mounted) {
76
+ return [];
77
+ }
78
79
let specs = this.allSpecsList.filter(spec => spec.matchesFilter(this.filter.show));
80
81
if (this.filter.spec) {
@@ -90,10 +100,6 @@ let appSpec = {
90
100
91
101
92
102
93
- mounted() {
94
- this.updateFavicon();
95
- },
96
-
97
103
methods: {
98
104
passclass,
99
105
round,
0 commit comments