mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:27:07 +00:00
Add an error overlay.
Assinging to `error` on the Map componenent will cause an overlay with an error <v-alert/> to be shown.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<v-overlay :value="error">
|
||||
<v-alert type="error">{{ error }}</v-alert>
|
||||
</v-overlay>
|
||||
<div id="map">
|
||||
</div>
|
||||
<div> <!-- This div holds the map overlays -->
|
||||
@@ -299,7 +302,9 @@ export default {
|
||||
searchText: "",
|
||||
searchVisible: false,
|
||||
filterText: "",
|
||||
filterVisible: false
|
||||
filterVisible: false,
|
||||
|
||||
error: null
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user