Skip to content

Commit

Permalink
fix: Table headings now left aligned instead of centered
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
Göran Sander committed Oct 14, 2022
1 parent 34e73c9 commit 5e6c591
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/lib/getbookmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ const getBookmark = async (options) => {
]);

consoleTableConfig.header = {
alignment: 'center',
content: `Bookmarks (${getBookmarks.length} bookmarks found in the app)`,
alignment: 'left',
content: `Bookmarks (${getBookmarks.length} bookmark(s) found in the app)`,
};

// eslint-disable-next-line no-restricted-syntax
Expand Down
4 changes: 2 additions & 2 deletions src/lib/getdim.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ const getMasterDimension = async (options) => {
]);

consoleTableConfig.header = {
alignment: 'center',
content: `Dimensions (${getMasterItems.length} dimensions found in the app)`,
alignment: 'left',
content: `Dimensions (${getMasterItems.length} dimension(s) found in the app)`,
};

// eslint-disable-next-line no-restricted-syntax
Expand Down
4 changes: 2 additions & 2 deletions src/lib/getmeasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ const getMasterMeasure = async (options) => {
]);

consoleTableConfig.header = {
alignment: 'center',
content: `Measures (${getMasterItems.length} measures found in the app)`,
alignment: 'left',
content: `Measures (${getMasterItems.length} measure(s) found in the app)`,
};

// eslint-disable-next-line no-restricted-syntax
Expand Down

0 comments on commit 5e6c591

Please sign in to comment.