fix: role get position

This commit is contained in:
Warunee Tamkoo 2026-02-03 17:17:08 +07:00
parent 1017ef74c0
commit 05fec39241

View file

@ -335,6 +335,10 @@ const landingPageUrl = ref<string>(configParam.landingPageUrl);
/** ฟังก์ชันเรียกข้อมูลผู้ใช่งาน*/
async function fetchKeycloakPosition() {
const checkRole =
role.value.includes("SUPER_ADMIN") || role.value.includes("ADMIN");
if (!checkRole) return;
await http
.get(config.API.keycloakPosition())
.then(async (res) => {