mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +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 * *'
|
- cron: '0 0 1,15 * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
general_module_workflow:
|
general_module_workflow_php:
|
||||||
uses: Karaka-Management/Karaka/.github/workflows/php_template.yml@develop
|
uses: Karaka-Management/Karaka/.github/workflows/php_template.yml@develop
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GH_PAT: ${{ secrets.GH_PAT }}
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
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)
|
constructor (data)
|
||||||
{
|
{
|
||||||
if (typeof data === 'undefined') {
|
if (typeof data === 'undefined') {
|
||||||
this.scrollPosition = {x: 0, y: 0};
|
this.scrollPosition = { x: 0, y: 0 };
|
||||||
this.activeLinks = {};
|
this.activeLinks = {};
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
this.openCategories = {};
|
this.openCategories = {};
|
||||||
} else {
|
} 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.activeLinks = typeof data.activeLinks === 'undefined' ? {} : data.activeLinks;
|
||||||
this.visible = typeof data.visible === 'undefined' ? true : data.visible;
|
this.visible = typeof data.visible === 'undefined' ? true : data.visible;
|
||||||
this.openCategories = typeof data.openCategories === 'undefined' ? {} : data.openCategories;
|
this.openCategories = typeof data.openCategories === 'undefined' ? {} : data.openCategories;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user