Skip to content

Commit

Permalink
Merge branch 'master' into test-with-profiles-2
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Dec 3, 2024
2 parents a1526cd + 05b1ae4 commit b33cdfb
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 25 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ng-bootstrap/ng-bootstrap": "17.0.1",
"@popperjs/core": "^2.11.8",
"@prettier/plugin-xml": "^3.2.2",
"ace-builds": "^1.36.4",
"ace-builds": "^1.36.5",
"angular-split": "^17.2.0",
"bootstrap": "4",
"bootstrap-icons": "^1.11.3",
Expand All @@ -43,7 +43,7 @@
"diff-match-patch": "1.0.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"font-awesome": "^4.7.0",
"monaco-editor": "0.48.0",
"ng-simple-file-tree": "^0.1.28",
Expand Down
79 changes: 58 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/app/shared/services/settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export class SettingsService {
this.setShowMultipleAtATime(localStorage.getItem(this.showMultipleAtATimeKey) === 'true');
const MAX_ALLOWED_DROPDOWN_VALUE: number = 8;
const tempTableSpacing: number = +(localStorage.getItem(this.tableSpacingKey) ?? 1);
const cappedTableSpacing: number =
tempTableSpacing < MAX_ALLOWED_DROPDOWN_VALUE ? tempTableSpacing : MAX_ALLOWED_DROPDOWN_VALUE;
const cappedTableSpacing: number = Math.min(tempTableSpacing, MAX_ALLOWED_DROPDOWN_VALUE);
this.setTableSpacing(cappedTableSpacing);
this.setShowSearchWindowOnLoad(localStorage.getItem(this.showSearchWindowOnLoadKey) === 'true');
this.setPrettifyOnLoad(localStorage.getItem(this.prettifyOnLoadKey) === 'true');
Expand Down

0 comments on commit b33cdfb

Please sign in to comment.