comparison client/src/components/Sidebar.vue @ 2413:f39c4b432601 staging_consolidation

merge with default
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 28 Feb 2019 12:29:46 +0100
parents 598b0c262475 b72d3da6409c
children 706121185e63
comparison
equal deleted inserted replaced
2410:228387d5f2c5 2413:f39c4b432601
223 this.routeName == "mainview" 223 this.routeName == "mainview"
224 ); 224 );
225 } 225 }
226 }, 226 },
227 mounted() { 227 mounted() {
228 this.$store.dispatch("imports/getStaging").catch(error => { 228 setTimeout(() => {
229 const { status, data } = error.response; 229 this.$store.dispatch("imports/getStaging").catch(error => {
230 displayError({ 230 const { status, data } = error.response;
231 title: "Backend Error", 231 displayError({
232 message: `${status}: ${data.message || data}` 232 title: "Backend Error",
233 message: `${status}: ${data.message || data}`
234 });
233 }); 235 });
234 }); 236 }, 15000);
235 } 237 }
236 }; 238 };
237 </script> 239 </script>
238 240
239 <style lang="scss" scoped> 241 <style lang="scss" scoped>
266 color: #333; 268 color: #333;
267 text-decoration: none; 269 text-decoration: none;
268 .indicator { 270 .indicator {
269 left: auto; 271 left: auto;
270 right: 10px; 272 right: 10px;
271 top: 10px; 273 top: 12px;
272 border-radius: 0.25rem; 274 border-radius: 0.25rem;
275 }
276 &.router-link-exact-active .indicator {
277 background: #fff;
278 color: #333;
273 } 279 }
274 } 280 }
275 281
276 .menu a svg path { 282 .menu a svg path {
277 fill: #666; 283 fill: #666;