Thing Details: broaden the criteria for hyperlinking thing status description (#3000)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/3001/head
jimtng 2025-01-10 19:58:12 +10:00 committed by GitHub
parent d16fe3ac60
commit f83116f447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default {
},
thingStatusDescription (statusInfo) {
const description = statusInfo.description
if (statusInfo.statusDetail === 'CONFIGURATION_PENDING' && description) {
if (description) {
const result = linkRegex.exec(description)
if (result) {
const { pretext, path, posttext } = result.groups