Fix for public instance field
This commit is contained in:
1 parent
92d8cc4f55
commit
383522372f
2 files changed
+7
-1
No files matched your search
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- a bug where public Invidious instances all showed `N/A` in the health column
|
||||||
|
|
||||||
## [0.23.3] - 2024-04-28
|
## [0.23.3] - 2024-04-28
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ function CreateListItemContent(instance as object, fieldWidths as object) as obj
|
|||||||
' Leave 5 spaces for the flag, just to simplify the layout
|
' Leave 5 spaces for the flag, just to simplify the layout
|
||||||
location: ` ${DrillIntoObject(instance[1], ["region"], "N/A")}`
|
location: ` ${DrillIntoObject(instance[1], ["region"], "N/A")}`
|
||||||
flag: GetFlagUrl(DrillIntoObject(instance[1], ["flag"], ""))
|
flag: GetFlagUrl(DrillIntoObject(instance[1], ["flag"], ""))
|
||||||
health: DrillIntoObject(instance[1], ["monitor", "30dRatio", "ratio"], "N/A")
|
health: DrillIntoObject(instance[1], ["monitor", "uptime"], "N/A")
|
||||||
uri: instance[1].uri
|
uri: instance[1].uri
|
||||||
fieldWidths: fieldWidths
|
fieldWidths: fieldWidths
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user