-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(files): render snekFinder even without initBackendLink
This change updates the rendering behaviour of the SnekFinder. Before the loading state of the SnekFinder was always true, unless a initBackendLink was set. Due to this, the rendering of the SnekFinder failed for all applications that did not set the initBackendLink through `jaen-pages.json` or cache. Now the loading state is set to false regardless of the initBackendLink. Without the initBackendLink, ```js localStorage.removeItem('snek-finder-osg-backend-root') ``` is called to remove the cached snekFinder data.
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters