Skip to content

Commit

Permalink
merge: #2977
Browse files Browse the repository at this point in the history
2977: fix(web): Change the import workspace approval modal message r=stack72 a=stack72



Co-authored-by: stack72 <[email protected]>
  • Loading branch information
si-bors-ng[bot] and stack72 authored Nov 27, 2023
2 parents b1d1f8a + 7172b43 commit 23b8f15
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/web/src/components/WorkspaceImportModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@
</ul>
</div>
</template>
<div class="flex w-full text-xs justify-center pt-4 gap-2">
<Icon name="tools" tone="warning" size="sm" /> Importing a
workspace means replacing all the changesets in this workspace.
They cannot be recovered. If you want to save current work
please export your workspace now.
</div>
</div>
</div>
<div>
Expand All @@ -142,7 +148,7 @@
size="sm"
tone="success"
loadingText="Importing Workspace"
label="Override Approval And Apply"
label="Override vote and apply"
@click="importWorkspaceHandler"
/>
</div>
Expand Down Expand Up @@ -189,15 +195,15 @@
variant="ghost"
tone="success"
loadingText="Approving"
label="Approve"
label="Go ahead"
@click="importApprovalVote('Approve')"
/>
<VButton
icon="thumbs-down"
variant="ghost"
tone="error"
loadingText="Rejecting"
label="Reject"
label="No"
@click="importApprovalVote('Reject')"
/>
</div>
Expand Down

0 comments on commit 23b8f15

Please sign in to comment.