Fix style for nav (#54)

This commit is contained in:
AceDataCloud committed 2024-06-17 16:57:18 +00:00
1 parent a89dae788d
commit 5c7f45189a
3 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export default defineComponent({
await this.$store.dispatch('setToken', token);
await this.$store.dispatch('getUser');
// if the site is not initialized, initialize it
if (this.$store.state.site?.origin) {
if (!this.$store.state.site?.origin) {
await this.$store.dispatch('initializeSite');
// after initialization, navigate to the site config page
await this.$router.push({