[F] Move signOut() to the right place
This commit is contained in:
@@ -27,4 +27,13 @@ export default class Navigation extends Vue
|
|||||||
// Call custom event
|
// Call custom event
|
||||||
this.$emit('navigation:select', this.activeIndex);
|
this.$emit('navigation:select', this.activeIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is called when the sign out button is clicked.
|
||||||
|
*/
|
||||||
|
public signOut()
|
||||||
|
{
|
||||||
|
// Call custom event
|
||||||
|
this.$emit('sign-out');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,13 +148,4 @@ export default class Overall extends Vue
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* This function is called when the sign out button is clicked.
|
|
||||||
*/
|
|
||||||
public signOut()
|
|
||||||
{
|
|
||||||
// Call custom event
|
|
||||||
this.$emit('sign-out');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user