forked from Ivasoft/geovisio-website
fix: remove log + add comments
This commit is contained in:
@@ -9,6 +9,7 @@ function getAuthRoute(authRoute: string, nextRoute: string): string {
|
||||
}api/${authRoute}?next_url=${encodeURIComponent(`${next}`)}`
|
||||
}
|
||||
|
||||
// This function to decode the flask cookie and have the user information like username
|
||||
function decodingFlaskCookie(cookie: string): string {
|
||||
const cookieFormatted = cookie
|
||||
.split('.')[1]
|
||||
|
||||
@@ -308,8 +308,7 @@ const getUserId = computed<string>(() => cookies.get('user_id'))
|
||||
onMounted(async () => {
|
||||
isLoading.value = true
|
||||
try {
|
||||
const { data } = await axios.get('api/users/me/collection?limit=1')
|
||||
console.log(data)
|
||||
const { data } = await axios.get('api/users/me/collection')
|
||||
collectionBbox.value = data.extent.spatial.bbox[0]
|
||||
userSequences.value = getRelChild(data.links)
|
||||
isLoading.value = false
|
||||
|
||||
Reference in New Issue
Block a user