File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 4848 </v-row >
4949 </v-container >
5050
51- <v-container v-if =" !{ networkError} " class =" center" fluid mb-12 >
51+ <v-container v-if =" !networkError" class =" center" fluid mb-12 >
5252 <v-row justify =" center" >
5353 <v-col class =" introtxt text-center" >
5454 <h2 >{{ $t('h2.2') }}</h2 >
8787 <v-icon >mdi-close-circle-outline</v-icon >
8888 </v-btn >
8989 </v-snackbar >
90- <!--
91- <v-container class="" justify-center my-12>
92- <v-row justify="center">
93- <v-col class="introtxt text-center py-12">
94- <p class="quotetxt">{{ $t('p.3') }}</p>
95- <br>
96- <p >Oliver Gröble<br>{{ $t('p.4') }}</p>
97-
98- </v-col>
99- </v-row>
100- </v-container>
101- -->
102-
10390</div >
10491
10592</template >
@@ -168,11 +155,14 @@ export default {
168155 }`
169156 }).catch (() => {
170157 this .snackbar = true ;
158+ this .networkError = true ;
171159 });
172160 if (result) {
173161 const snapshots = result .data .snapshots .edges .map (snapshot => snapshot .node );
174162 // fake random, for more randomness, use https://www.npmjs.com/package/lodash.shuffle package
175163 this .snapshotsExamples = snapshots .sort (() => (Math .random () > 0.5 ? - 1 : 1 )).slice (0 , 3 );
164+ this .snackbar = false ;
165+ this .networkError = false ;
176166 }
177167 }
178168 }
You can’t perform that action at this time.
0 commit comments