Skip to content

Commit

Permalink
[MS] merge
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienSvstr committed Feb 13, 2025
1 parent 3056a3a commit 9e53ae1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/src/views/users/BulkRoleAssignmentModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
fill="clear"
size="default"
@click="cancel"
v-if="showCloseButton"
v-if="currentPage !== Steps.Summary"
>
{{ $msTranslate('MyProfilePage.cancelButton') }}
</ion-button>
Expand Down Expand Up @@ -179,7 +179,6 @@ enum Steps {
SelectUser,
Processing,
Summary,
End,
}

interface WorkspaceRoleUpdate {
Expand All @@ -193,7 +192,6 @@ const targetUser: Ref<UserInfo | undefined> = ref();
const currentPage: Ref<Steps> = ref(Steps.SelectUser);
const roleUpdates: Ref<WorkspaceRoleUpdate[]> = ref([]);
const finished = ref(false);
const showCloseButton = ref(true);

const props = defineProps<{
sourceUser: UserInfo;
Expand Down Expand Up @@ -319,7 +317,6 @@ async function nextStep(): Promise<void> {
if (roleUpdates.value.length === 0 || finished.value) {
await modalController.dismiss(null, MsModalResult.Confirm);
} else {
showCloseButton.value = false;
await assignNewRoles();
}
}
Expand Down

0 comments on commit 9e53ae1

Please sign in to comment.