π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Fix DomainMonitor status type mismatch (number vs string)
Robert Bustichi0eb6d8db87d0
diff --git a/src/components/Widgets/DomainMonitor.vue b/src/components/Widgets/DomainMonitor.vueindex 274d84fc..0ad6bd83 100644--- a/src/components/Widgets/DomainMonitor.vue+++ b/src/components/Widgets/DomainMonitor.vue@@ -97,7 +97,7 @@ export default {/* Assign data variables to the returned data */processData(domainResults) {if (domainResults.limit_hit) this.error('API Limit Reached');- if (domainResults.status !== '0') this.error(domainResults.status_desc || 'API Error');+ if (Number(domainResults.status) !== 0) this.error(domainResults.status_desc || 'API Error');// Get domain name and registration statusconst domainName = domainResults.domain_name;const isRegistered = domainResults.registered;