Skip to content

Commit

Permalink
project: downgrade ngx-spinner version
Browse files Browse the repository at this point in the history
The first part of this commit downgrade the ngx-spinner version for compatibility
with Angular 8.
The second part update two html templates to use spinner on ng-core components because the
migration to ngx-spinner removed old spinner.

* Adds ngx-spinner into app component HTML template.
* Adds ngx-spinner into public search app component HTML template.

Co-Authored-by: Lauren-D <laurent.dubois@itld-solutions.be>
  • Loading branch information
lauren-d committed Jul 20, 2020
1 parent 5ed9d1e commit 29cddb1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
9 changes: 6 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"lodash-es": "4.17.14",
"moment": "^2.24.0",
"ngx-bootstrap": "^5.6.2",
"ngx-spinner": "^9.0.2",
"ngx-spinner": "^8.1.0",
"ngx-toastr": "^10.2.0",
"ngx-toggle-switch": "^2.0.5",
"rxjs": "^6.4.0",
Expand Down
1 change: 1 addition & 0 deletions projects/admin/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<ngx-spinner type="ball-spin-clockwise" size="medium"></ngx-spinner>
<div *ngIf="!user" translate>Loading…</div>
<ng-container *ngIf="user">
<header>
Expand Down
2 changes: 1 addition & 1 deletion projects/public-search/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<ngx-spinner type="ball-spin-clockwise" size="medium"></ngx-spinner>
<router-outlet></router-outlet>

0 comments on commit 29cddb1

Please sign in to comment.