mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-10 18:28:40 +00:00
more tests and some fixes
This commit is contained in:
parent
3ca3585769
commit
6099cb9e4d
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -13,10 +13,15 @@ on:
|
|||
- cron: '0 0 1,15 * *'
|
||||
|
||||
jobs:
|
||||
general_module_workflow:
|
||||
general_module_workflow_php:
|
||||
uses: Karaka-Management/Karaka/.github/workflows/php_template.yml@develop
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
general_module_workflow_js:
|
||||
uses: Karaka-Management/Karaka/.github/workflows/js_template.yml@develop
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
|
@ -9,12 +9,12 @@ export class Navigation {
|
|||
constructor (data)
|
||||
{
|
||||
if (typeof data === 'undefined') {
|
||||
this.scrollPosition = {x: 0, y: 0};
|
||||
this.scrollPosition = { x: 0, y: 0 };
|
||||
this.activeLinks = {};
|
||||
this.visible = true;
|
||||
this.openCategories = {};
|
||||
} else {
|
||||
this.scrollPosition = typeof data.scrollPosition === 'undefined' ? {x : 0, y : 0} : data.scrollPosition;
|
||||
this.scrollPosition = typeof data.scrollPosition === 'undefined' ? { x: 0, y: 0 } : data.scrollPosition;
|
||||
this.activeLinks = typeof data.activeLinks === 'undefined' ? {} : data.activeLinks;
|
||||
this.visible = typeof data.visible === 'undefined' ? true : data.visible;
|
||||
this.openCategories = typeof data.openCategories === 'undefined' ? {} : data.openCategories;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user