diff --git a/apps/web/src/services/iam/components/AppManagementFormModal.vue b/apps/web/src/services/iam/components/AppManagementFormModal.vue index 265dca96ec..531e3db558 100644 --- a/apps/web/src/services/iam/components/AppManagementFormModal.vue +++ b/apps/web/src/services/iam/components/AppManagementFormModal.vue @@ -375,6 +375,13 @@ watch(() => storeState.isEdit, (isEdit) => { } } } + .project-select-dropdown { + .p-select-dropdown { + .dropdown-context-menu { + min-width: 25.875rem !important; + } + } + } .p-field-title .title-wrapper .title { width: 100%; } diff --git a/apps/web/src/services/iam/components/AppManagementTable.vue b/apps/web/src/services/iam/components/AppManagementTable.vue index fabac53732..76da9a792c 100644 --- a/apps/web/src/services/iam/components/AppManagementTable.vue +++ b/apps/web/src/services/iam/components/AppManagementTable.vue @@ -433,6 +433,7 @@ watch(() => appPageState.modal.visible.apiKey, (visible) => { } .role-type { @apply flex items-center; + padding-right: 1rem; gap: 0.5rem; .role-type-icon { @apply rounded-full; diff --git a/apps/web/src/services/iam/store/user-page-store.ts b/apps/web/src/services/iam/store/user-page-store.ts index 25cc776d8e..ec82983037 100644 --- a/apps/web/src/services/iam/store/user-page-store.ts +++ b/apps/web/src/services/iam/store/user-page-store.ts @@ -6,7 +6,7 @@ import { SpaceConnector } from '@cloudforet/core-lib/space-connector'; import type { ListResponse } from '@/schema/_common/api-verbs/list'; import type { RoleListParameters } from '@/schema/identity/role/api-verbs/list'; -import { ROLE_STATE, ROLE_TYPE } from '@/schema/identity/role/constant'; +import { ROLE_TYPE } from '@/schema/identity/role/constant'; import type { RoleModel } from '@/schema/identity/role/model'; import type { UserGetParameters } from '@/schema/identity/user/api-verbs/get'; import type { UserListParameters } from '@/schema/identity/user/api-verbs/list'; @@ -150,13 +150,7 @@ export const useUserPageStore = defineStore('page-user', { // Role async listRoles() { try { - const { results } = await SpaceConnector.clientV2.identity.role.list>({ - query: { - filter: [ - { k: 'state', v: ROLE_STATE.ENABLED, o: 'eq' }, - ], - }, - }); + const { results } = await SpaceConnector.clientV2.identity.role.list>(); this.roles = results || []; return results; } catch (e) {