Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Aug 4, 2020
1 parent f499476 commit 1e81630
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/components/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ export default {
let column = this.columns[i];
if (column.exportable !== false && column.field) {
let cellData = ObjectUtils.resolveFieldData(record, column.field);
if (cellData != null) {
if (this.exportFunction) {
cellData = this.exportFunction({
Expand All @@ -973,10 +973,10 @@ export default {
}
else
cellData = '';
csv += '"' + cellData + '"';
if (i < (this.columns.length - 1)) {
csv += this.csvSeparator;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabmenu/TabMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
let tabHeader = this.$refs.nav.children[activeTabIndex];
this.$refs.inkbar.style.width = DomHandler.getWidth(tabHeader) + 'px';
this.$refs.inkbar.style.left = DomHandler.getOffset(tabHeader).left - DomHandler.getOffset(this.$refs.nav).left + 'px';
}
}
else {
this.$refs.inkbar.style.width = '0px';
this.$refs.inkbar.style.left = '0px';
Expand Down
2 changes: 1 addition & 1 deletion src/components/utils/DomHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class DomHandler {
if (top < 0) {
top = windowScrollTop;
}
}
}
else {
top = targetOuterHeight + targetOffset.top + windowScrollTop;
element.style.transformOrigin = 'top';
Expand Down
2 changes: 1 addition & 1 deletion src/views/datatable/DataTableSelectionDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

<div class="card">
<h5>Checkbox</h5>

<DataTable :value="products" :selection.sync="selectedProducts3" dataKey="id">
<Column selectionMode="multiple" headerStyle="width: 3em"></Column>
<Column field="code" header="Code"></Column>
Expand Down

0 comments on commit 1e81630

Please sign in to comment.