Skip to content

Commit

Permalink
feat: add disk wipe warning when accepting a pending machine
Browse files Browse the repository at this point in the history
Warn the user that its disks are going to be wiped.

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir committed Jan 16, 2025
1 parent 9208587 commit 5db4c8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/views/omni/Modals/MachineAccept.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ included in the LICENSE file.

<p class="text-xs py-2">Please confirm the action.</p>

<div class="text-xs">
<p class="text-primary-P3 py-2 font-bold">
Accepting the machine will wipe ALL of its disks.
</p>
</div>

<div class="flex justify-end gap-4 mt-8">
<t-button @click="reject" class="w-32 h-9" icon="check" iconPosition="left">
Accept
Expand Down

0 comments on commit 5db4c8c

Please sign in to comment.