This commit is contained in:
@@ -107,9 +107,10 @@
|
||||
/* Xeslint-disable */
|
||||
import aboutInfo from "../api/aboutinfo";
|
||||
|
||||
// function clickHandler(item) {
|
||||
// if (this.$gzmenu.isRelevantClick(item)) {
|
||||
// alert("about.vue::context click: " + item.key);
|
||||
// function clickHandler(menuItem) {
|
||||
// var item = this.$gzmenu.parseMenuItem(menuItem);
|
||||
// if (item.owner == "about" && !item.disabled) {
|
||||
// alert("about::context click: " + item.key);
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
@@ -130,8 +130,9 @@
|
||||
|
||||
<script>
|
||||
/* xeslint-disable */
|
||||
function clickHandler(item) {
|
||||
if (this.$gzmenu.isRelevantClick(item)) {
|
||||
function clickHandler(menuItem) {
|
||||
var item = this.$gzmenu.parseMenuItem(menuItem);
|
||||
if (item.owner == "inventory-widget-edit" && !item.disabled) {
|
||||
alert("inventory-widget-edit.vue::context click: " + item.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ export default {
|
||||
auth
|
||||
.authenticate(this.input.username, this.input.password)
|
||||
.then(() => {
|
||||
this.$router.replace({ name: "home" });
|
||||
this.$router.push({ name: "home" });
|
||||
})
|
||||
.catch(function handleCaughtLoginError(error) {
|
||||
/* xeslint-disable-next-line */
|
||||
|
||||
Reference in New Issue
Block a user