mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +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
|
||||
@ftbot.Action selectBot!: (botId: string) => void;
|
||||
|
||||
@ftbot.Action allRefreshFull;
|
||||
|
||||
@Prop({ default: false }) inModal!: boolean;
|
||||
|
||||
$refs!: {
|
||||
|
@ -174,6 +176,7 @@ export default class Login extends Vue {
|
|||
}
|
||||
|
||||
this.emitLoginResult(true);
|
||||
this.allRefreshFull();
|
||||
if (this.inModal === false) {
|
||||
if (typeof this.$route.query.redirect === 'string') {
|
||||
const resolved = this.$router.resolve({ path: this.$route.query.redirect });
|
||||
|
|
Loading…
Reference in New Issue
Block a user