diff --git a/src/views/media/Device/index.vue b/src/views/media/Device/index.vue index a8d7d59d..9a729dbc 100644 --- a/src/views/media/Device/index.vue +++ b/src/views/media/Device/index.vue @@ -30,11 +30,9 @@ :actions="getActions(slotProps, 'card')" v-bind="slotProps" :showStatus="true" - :status=" - slotProps.state.value === 'online' ? 'success' : 'error' - " + :status="slotProps.state.value" :statusText="slotProps.state.text" - :statusNames="{ success: 'success', error: 'error' }" + :statusNames="{ online: 'processing', offline: 'error' }" >