Adds redirection to creator creation
This commit is contained in:
@@ -78,8 +78,13 @@ import ManageAccount from "@/views/profile/management/ManageAccount.vue";
|
||||
import CreatorPage from "@/views/profile/creators/CreatorPage.vue";
|
||||
import AccountPage from "@/views/profile/account/AccountPage.vue";
|
||||
import AccountSecurity from "@/views/profile/security/AccountSecurity.vue";
|
||||
import {useRoute} from "vue-router";
|
||||
|
||||
const currentComponent = ref('AccountPage'); // Default component
|
||||
|
||||
const route = useRoute()
|
||||
const startingComponent = route.query.target || 'AccountPage'
|
||||
|
||||
const currentComponent = ref(startingComponent);
|
||||
const isDown = ref(false);
|
||||
const startX = ref(0);
|
||||
const scrollLeft = ref(0);
|
||||
|
||||
Reference in New Issue
Block a user