fix: removed uncalled function

This commit is contained in:
Jannat Patel
2025-11-06 12:23:18 +05:30
parent 28be3891d2
commit b1be568991

View File

@@ -177,7 +177,6 @@ watch(
() => props.username,
() => {
profile.reload()
getProfileRoles()
}
)
@@ -194,7 +193,6 @@ const hasHigherAccess = () => {
}
const isEvaluatorOrModerator = () => {
console.log(profile.data)
return (
profile.data?.roles.filter(
(row) => row.role === 'Moderator' || row.role === 'Evaluator'