✨ Put good responses first
parent
4115e3ee4b
commit
2e06007622
|
@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
||||||
|
|
||||||
- More information in the `package.json`.
|
- More information in the `package.json`.
|
||||||
- Added ESLint
|
- Added ESLint
|
||||||
|
- Added Prettier
|
||||||
|
- Put success reponses at the top of the list
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ export class PagesComponent implements OnInit, OnDestroy {
|
||||||
.pipe(takeUntil(this.destroy$))
|
.pipe(takeUntil(this.destroy$))
|
||||||
.subscribe(
|
.subscribe(
|
||||||
(resp): void => {
|
(resp): void => {
|
||||||
this.dataSource.data.push({
|
this.dataSource.data.unshift({
|
||||||
gateway: this.gatewayService.url(gateway, protocol, hashpath),
|
gateway: this.gatewayService.url(gateway, protocol, hashpath),
|
||||||
message: resp.statusText,
|
message: resp.statusText,
|
||||||
icon: this.getIcon(resp.status),
|
icon: this.getIcon(resp.status),
|
||||||
|
|
Loading…
Reference in New Issue