Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Commit 054c7cb

Browse files
committed
Merge branch 'refactor/profile' into dev-merge_test
2 parents 7711c30 + f76380c commit 054c7cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/Profile/UserProfile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const gradeInput = reactive({
208208
})
209209
210210
onMounted(async () => {
211-
if (user.userInfo.role_type === 'stuendt') {
211+
if (!userGrade.value) {
212212
try {
213213
userGrade.value = await getUserGrade()
214214
} catch (error) {

0 commit comments

Comments
 (0)