Skip to content

Commit

Permalink
chore: apply minor qa
Browse files Browse the repository at this point in the history
Signed-off-by: NaYeong,Kim <[email protected]>
  • Loading branch information
skdud4659 committed Aug 29, 2024
1 parent ac2e990 commit eaecd32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 2 additions & 8 deletions apps/web/src/services/iam/store/user-page-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -150,13 +150,7 @@ export const useUserPageStore = defineStore('page-user', {
// Role
async listRoles() {
try {
const { results } = await SpaceConnector.clientV2.identity.role.list<RoleListParameters, ListResponse<RoleModel>>({
query: {
filter: [
{ k: 'state', v: ROLE_STATE.ENABLED, o: 'eq' },
],
},
});
const { results } = await SpaceConnector.clientV2.identity.role.list<RoleListParameters, ListResponse<RoleModel>>();
this.roles = results || [];
return results;
} catch (e) {
Expand Down

0 comments on commit eaecd32

Please sign in to comment.