Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Esvalirion committed Jan 18, 2021
1 parent 175c368 commit d2b09c4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/qComponents/QTable/src/QTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,9 @@ export default {
},
doesHeaderExist() {
return this.groupsOfColumns.some(({ columns }) => {
return columns.some(({ value, slots }) => {
return value || slots?.header;
});
});
return this.groupsOfColumns.some(({ columns }) =>
columns.some(({ value, slots }) => value ?? slots?.header)
);
},
isDraggable() {
Expand Down

0 comments on commit d2b09c4

Please sign in to comment.