Skip to content

Commit

Permalink
fix: test errors + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ahochsteger committed Feb 10, 2021
1 parent 074a51f commit 62e13a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/nodes-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
hide-details
:label="managedNodes.propDefs[col.name].label"
:input-value="col.visible"
false-value="false"
@change="col.visible = !!$event"
prepend-icon="drag_indicator"
></v-checkbox>
Expand Down
6 changes: 5 additions & 1 deletion src/modules/ManagedItems.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ describe('ManagedItems', () => {
describe('#tableHeaders', () => {
it('returns the active table headers', () => {
const managedItems = getNewManagedTestItems()
managedItems.tableColumns = ['id', 'value']
managedItems.tableColumns = [
{ name: 'id', visible: true },
{ name: 'value', visible: true },
{ name: 'info', visible: false }
]
chai.expect(managedItems.tableHeaders).to.eql([
{ value: 'id', text: 'ID', type: 'number', groupable: false },
{ value: 'value', text: 'Value', type: 'string', groupable: true }
Expand Down

0 comments on commit 62e13a8

Please sign in to comment.