diff --git a/CHANGELOG.md b/CHANGELOG.md index 7221259..0b1f314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this - More information in the `package.json`. - Added ESLint +- Added Prettier +- Put success reponses at the top of the list ### Changed diff --git a/src/app/pages/pages.component.ts b/src/app/pages/pages.component.ts index 25dd10c..7a393d5 100644 --- a/src/app/pages/pages.component.ts +++ b/src/app/pages/pages.component.ts @@ -87,7 +87,7 @@ export class PagesComponent implements OnInit, OnDestroy { .pipe(takeUntil(this.destroy$)) .subscribe( (resp): void => { - this.dataSource.data.push({ + this.dataSource.data.unshift({ gateway: this.gatewayService.url(gateway, protocol, hashpath), message: resp.statusText, icon: this.getIcon(resp.status),