This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
<v-alert :type="currentNotification.type" transition="scale-transition">
|
||||
{{ currentNotification.message }}
|
||||
</v-alert>
|
||||
<!-- <v-btn icon @click="isVisible = false">
|
||||
<v-icon color="white">fa-times-circle</v-icon>
|
||||
</v-btn> -->
|
||||
<v-btn text v-if="currentNotification.helpUrl" @click="helpClick()">
|
||||
{{ this.$root.$gz.locale.get("More") }}
|
||||
</v-btn>
|
||||
</v-snackbar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
/* Xeslint-disable */
|
||||
/* XXXeslint-disable */
|
||||
const DEFAULT_NOTIFY_OPTIONS = { type: "info", timeout: 3000 };
|
||||
|
||||
export default {
|
||||
@@ -21,7 +21,8 @@ export default {
|
||||
currentNotification: {
|
||||
type: "info", //one of success, info, warning, and error, see v-alert docs for more info
|
||||
timeout: 3000,
|
||||
message: null
|
||||
message: null,
|
||||
helpUrl: null
|
||||
}
|
||||
}),
|
||||
methods: {
|
||||
@@ -65,6 +66,9 @@ export default {
|
||||
this.processing = false;
|
||||
return;
|
||||
}
|
||||
},
|
||||
helpClick() {
|
||||
window.open(this.currentNotification.helpUrl, "_blank");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user