Skip to content

Commit

Permalink
Add clarification about differences in recovery amount
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Feb 13, 2023
1 parent 326488b commit 1d31285
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import localize from "@/utils/localization";
import { computed, ref } from "vue";
import type { CleanupResult } from "./model";
import Alert from "components/Alert.vue";
interface CleanupResultDialogProps {
result?: CleanupResult;
Expand Down Expand Up @@ -46,6 +47,9 @@ defineExpose({
<template>
<b-modal id="cleanup-result-modal" v-model="showModal" :title="title" title-tag="h2" hide-footer static>
<div class="text-center">
<Alert
variant="info"
message="After the operation, the storage space that will be freed up will only be for the unique items. This means that some items may not free up any storage space because they are duplicates of other items." />
<b-spinner v-if="isLoading" class="mx-auto" data-test-id="loading-spinner" />
<div v-else>
<b-alert v-if="result.hasFailed" show variant="danger" data-test-id="error-alert">
Expand Down

0 comments on commit 1d31285

Please sign in to comment.