@@ -6,7 +6,7 @@ import { computed } from 'vue';
66
77const props = defineProps ([' requestError' , ' statamic' , ' addons' ]);
88
9- const criticalUpdateAvailable = computed (() => props .statamic .critical || props .addons .some (addon => addon .critical ));
9+ const securityUpdateAvailable = computed (() => props .statamic .security || props .addons .some (addon => addon .security ));
1010 </script >
1111
1212<template >
@@ -15,7 +15,7 @@ const criticalUpdateAvailable = computed(() => props.statamic.critical || props.
1515 <div class =" max-w-page mx-auto" >
1616 <Header :title =" __('Updates')" icon =" updates" >
1717 <template #actions >
18- <Badge v-if =" criticalUpdateAvailable " :text =" __('Critical update available')" color =" red" size =" lg" icon =" alert-warning-exclamation-mark" />
18+ <Badge v-if =" securityUpdateAvailable " :text =" __('Security update available')" color =" red" size =" lg" icon =" alert-warning-exclamation-mark" />
1919 </template >
2020 </Header >
2121
@@ -48,7 +48,7 @@ const criticalUpdateAvailable = computed(() => props.statamic.critical || props.
4848 <Badge
4949 size =" sm"
5050 :text =" __n('1 update|:count updates', statamic.availableUpdatesCount)"
51- :color =" statamic.critical ? 'red' : 'amber'"
51+ :color =" statamic.security ? 'red' : 'amber'"
5252 />
5353 </TableCell >
5454 <TableCell v-else class =" text-right" >{{ __('Up to date') }}</TableCell >
@@ -77,7 +77,7 @@ const criticalUpdateAvailable = computed(() => props.statamic.critical || props.
7777 <Badge
7878 size =" sm"
7979 :text =" __n('1 update|:count updates', addon.availableUpdatesCount)"
80- :color =" addon.critical ? 'red' : 'amber'"
80+ :color =" addon.security ? 'red' : 'amber'"
8181 />
8282 </TableCell >
8383 <TableCell v-else class =" text-right" >{{ __('Up to date') }}</TableCell >
0 commit comments