Skip to content

chore(deps): bump @scicatproject/scicat-sdk-ts-angular from 4.13.0 to 4.14.0 #1816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

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


Unchanged files with check annotations Beta

ngOnInit(): void {
this.subscriptions.push(
this.store.select(selectCurrentDataset).subscribe((dataset) => {

Check warning on line 36 in src/app/datasets/admin-tab/admin-tab.component.ts

GitHub Actions / eslint

`Store` subscription is forbidden. Use the `async` pipe instead
if (dataset) {
this.dataset = dataset;
}
this.apiConfigService.basePath = this.config.lbBaseURL;
console.log(this.apiConfigService.basePath);
this.store.dispatch(loadDefaultSettings({ config: this.config }));

Check warning on line 75 in src/app/app.component.ts

GitHub Actions / eslint

Avoid dispatching many actions in a row to accomplish a larger conceptual "transaction"
this.store.dispatch(fetchCurrentUserAction());

Check warning on line 77 in src/app/app.component.ts

GitHub Actions / eslint

Avoid dispatching many actions in a row to accomplish a larger conceptual "transaction"
if (window.location.pathname.indexOf("logout") !== -1) {
this.logout();
}
this.userMessageSubscription = this.store
.select(selectUserMessage)
.subscribe((current) => {

Check warning on line 84 in src/app/app.component.ts

GitHub Actions / eslint

`Store` subscription is forbidden. Use the `async` pipe instead
if (current && current.content !== undefined) {
let panelClass = "";
switch (current.type) {
.get("/api/v3/admin/theme")
.pipe(timeout(2000))
.toPromise()) as Theme;
} catch (err) {

Check warning on line 18 in src/app/app-theme.service.ts

GitHub Actions / eslint

'err' is defined but never used
console.log("No theme available in backend, using local theme.");
this.activeTheme = (await this.http
.get("/assets/theme.json")
* Needs to return either a boolean or an observable that maps to a boolean
*/
canActivate(
route: ActivatedRouteSnapshot,

Check warning on line 30 in src/app/app-routing/auth.guard.ts

GitHub Actions / eslint

'route' is defined but never used
state: RouterStateSnapshot,

Check warning on line 31 in src/app/app-routing/auth.guard.ts

GitHub Actions / eslint

'state' is defined but never used
): Promise<boolean> {
return this.us
.usersControllerGetMyUser()
datasetReduceEnabled: boolean;
datasetDetailsShowMissingProposalId: boolean;
datafilesActionsEnabled: boolean;
datafilesActions: any[];

Check warning on line 47 in src/app/app-config.service.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
editDatasetSampleEnabled: boolean;
editMetadataEnabled: boolean;
editPublishedData: boolean;
.pipe(timeout(2000))
.toPromise();
this.appConfig = Object.assign({}, this.appConfig, config);
} catch (err) {

Check warning on line 124 in src/app/app-config.service.ts

GitHub Actions / eslint

'err' is defined but never used
console.log("No config available in backend, trying with local config.");
try {
const config = await this.http.get("/assets/config.json").toPromise();
this.appConfig = Object.assign({}, this.appConfig, config);
} catch (err) {

Check warning on line 129 in src/app/app-config.service.ts

GitHub Actions / eslint

'err' is defined but never used
console.error("No config provided.");
}
}