mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
Refresh right after login
This commit is contained in:
parent
4c040a78a2
commit
6b9a590ddd
|
@ -97,6 +97,8 @@ export default class Login extends Vue {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
@ftbot.Action selectBot!: (botId: string) => void;
|
@ftbot.Action selectBot!: (botId: string) => void;
|
||||||
|
|
||||||
|
@ftbot.Action allRefreshFull;
|
||||||
|
|
||||||
@Prop({ default: false }) inModal!: boolean;
|
@Prop({ default: false }) inModal!: boolean;
|
||||||
|
|
||||||
$refs!: {
|
$refs!: {
|
||||||
|
@ -174,6 +176,7 @@ export default class Login extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emitLoginResult(true);
|
this.emitLoginResult(true);
|
||||||
|
this.allRefreshFull();
|
||||||
if (this.inModal === false) {
|
if (this.inModal === false) {
|
||||||
if (typeof this.$route.query.redirect === 'string') {
|
if (typeof this.$route.query.redirect === 'string') {
|
||||||
const resolved = this.$router.resolve({ path: this.$route.query.redirect });
|
const resolved = this.$router.resolve({ path: this.$route.query.redirect });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user