Skip to content

Commit

Permalink
change text when less than 10 columns and dont show when editing view
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaris committed Sep 3, 2024
1 parent 6ab5288 commit e2c7a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/views/ProjectsExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@
:n-rows="fileInfo.dataSizeRows"
></DataPreviewTable>
<ColumnNamesPreview
v-if="columnNames.length > 10"
v-if="!editView"
:columnNames="columnNames"
:buttonName="'+ ' + (columnNames.length - 10) + ' variables: '"
:buttonName="columnNames.length > 10 ? '+ ' + (columnNames.length - 10) + ' variables: ' : columnNames.length + ' variables: '"
>
</ColumnNamesPreview>
</div>
Expand Down

0 comments on commit e2c7a69

Please sign in to comment.