Fix issue with missing elements in the dashboard

The create zone button will not render and the recordset list will be blank with a javascript error, dnsServiceEnabled is assigned before it is defined.

This patch corrects those errors by removing an unused variable assignment.

Closes-Bug: #1987439
Change-Id: I6fe2fa4f19c2117c632a9176f048c7e5a2639c88
(cherry picked from commit 80100077be)
This commit is contained in:
Michael Johnson
2022-08-23 19:15:08 +00:00
parent b445ef6113
commit aedd7ec534
2 changed files with 0 additions and 2 deletions

View File

@@ -74,7 +74,6 @@
function initAction() {
updateRecordSetPolicy = policy.ifAllowed({rules: [['dns', 'update_recordset']]});
dnsServiceEnabled = serviceCatalog.ifTypeEnabled('dns');
}
function allowed(recordset) {

View File

@@ -70,7 +70,6 @@
function initAction() {
updateZonePolicy = policy.ifAllowed({rules: [['dns', 'update_zone']]});
dnsServiceEnabled = serviceCatalog.ifTypeEnabled('dns');
}
function allowed(zone) {