Skip to content

Commit

Permalink
fix for gui spinner prematurely disappearing #67 #69
Browse files Browse the repository at this point in the history
  • Loading branch information
arawinters committed Oct 8, 2019
1 parent 9bbb5f4 commit 1c74f6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@senzing/entity-search-web-app",
"version": "1.0.3",
"version": "1.0.4",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start:docker": "node inject-env && node webserver",
"start:server": "java -jar \"..\\senzing-api-server\\target\\senzing-api-server-1.6.1.jar\" -iniFile \"%LOCALAPPDATA%\\Senzing\\Workbench\\project_1\\g2.ini\" -httpPort 8080 -allowedOrigins \"*\"",
"start:server": "java -jar \"..\\senzing-api-server\\target\\senzing-api-server-1.7.6.jar\" -iniFile \"%LOCALAPPDATA%\\Senzing\\Workbench\\project_1\\g2.ini\" -httpPort 8080 -allowedOrigins \"*\"",
"build": "ng build",
"build:docker": "ng build -c docker",
"build:sdk": "ng-packagr -p sdk-components-ng/src/subrepo.ng-package.json",
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/entity-search.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class EntityDetailResolverService implements Resolve<SzEntityData> {
this.spinner.show();
const entityId = parseInt( route.paramMap.get('entityId'), 10);
if (entityId && entityId > 0) {
return this.sdkSearchService.getEntityById(entityId).pipe(
return this.sdkSearchService.getEntityById(entityId, true).pipe(
mergeMap(entityData => {
console.info('EntityDetailResolverService: ', entityData);
this.spinner.hide();
Expand Down

0 comments on commit 1c74f6d

Please sign in to comment.