Skip to content

Commit

Permalink
fix(ui): drop failed column (#2134)
Browse files Browse the repository at this point in the history
* fix(ui): drop `failed` column

FIxes #2130

* fix: remove icon

* fix: remove `isFailedNode` action
  • Loading branch information
robertsLando authored Jan 4, 2022
1 parent b849be9 commit bd8c933
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
5 changes: 0 additions & 5 deletions src/components/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ export default {
{
text: 'Failed Nodes',
options: [
{
name: 'Check all',
action: 'isFailedNode',
args: { broadcast: true },
},
{
name: 'Remove all',
action: 'removeFailedNode',
Expand Down
23 changes: 0 additions & 23 deletions src/components/nodes-table/nodes-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import BlinkIcon from '@/components/custom/BlinkIcon.vue'

import { mapGetters } from 'vuex'
import {
mdiAlertCircle,
mdiBatteryAlertVariantOutline,
mdiBattery20,
mdiBattery50,
Expand Down Expand Up @@ -156,28 +155,6 @@ export default {
type: 'string',
label: 'FW',
},
failed: {
type: 'boolean',
label: 'Failed',
richValue: (node) =>
this.booleanRichValue(node.failed, {
default: {
icon: mdiHelpCircle,
iconStyle: `color: ${colors.grey.base}`,
description: 'Failure status unknown',
},
true: {
icon: mdiAlertCircle,
iconStyle: `color: ${colors.red.base}`,
description: 'Node is failed!',
},
false: {
icon: mdiCheckCircle,
iconStyle: `color: ${colors.green.base}`,
description: 'Node is not failed.',
},
}),
},
status: {
type: 'string',
label: 'Status',
Expand Down

0 comments on commit bd8c933

Please sign in to comment.