File tree Expand file tree Collapse file tree
core/ui/src/components/backup Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 @click =" deselectOtherSnapshots (snapshot )"
3737 class="snapshot-tile"
3838 >
39- <div >
40- {{ formatSnapshotTimestamp(snapshot.timestamp) }}
39+ <div class =" snapshot-header" >
40+ <span >{{ formatSnapshotTimestamp(snapshot.timestamp) }}</span >
41+ <cv-tag
42+ v-if =" index == 0"
43+ kind =" blue"
44+ :label =" $t('backup.most_recent')"
45+ size =" sm"
46+ class =" no-margin"
47+ ></cv-tag >
4148 </div >
42- <div v-if = " index == 0 " class =" secondary-row" >
43- {{ $t("backup.most_recent") }}
49+ <div class =" secondary-row" >
50+ {{ snapshot.total_bytes | byteFormat }}
4451 </div >
4552 </NsTile >
4653 <infinite-loading
@@ -166,6 +173,12 @@ export default {
166173 margin-bottom : $spacing-03 ;
167174}
168175
176+ .snapshot-header {
177+ display : flex ;
178+ align-items : center ;
179+ gap : $spacing-03 ;
180+ }
181+
169182.secondary-row {
170183 margin-top : $spacing-02 ;
171184 color : $ui-04 ;
You can’t perform that action at this time.
0 commit comments