import { LightningElement, api, wire } from "lwc";
import stgErrorInsufficientAccess from "@salesforce/label/c.stgErrorInsufficientAccess";
import checkAccessForCurrentUser from "@salesforce/apex/EDASettingsController.checkAccessForCurrentUser";

export default class EDASettings extends LightningElement {
    @api pageReference;

    labelReference = {
        settingsNavigation: "Navigation Pane Here",
        settingsPage: "Settings Page Here",
        stgErrorInsufficientAccess,
    };

    @wire(checkAccessForCurrentUser) currentUserHasAccess;

    settingsPageToDisplay = {
        accountModelSettings: true,
    };

    changePageToDisplay(pageName) {
        let settingsPageDisplay = {};
        settingsPageDisplay[pageName.toLowerCase()] = true;

        settingsPageToDisplay = settingsPageDisplay;
    }
}

@@ -484,24 +484,59 @@
 ss,%0A    %7D;%0A%0A
+    currentUserHasAccess = false;%0A%0A
     @wire(ch
@@ -559,16 +559,20 @@
 entUser)
+%0A   
  current
@@ -584,17 +584,152 @@
 asAccess
-;
+Wire(result) %7B%0A        const %7B error, data %7D = result;%0A        if (data) %7B%0A            this.currentUserHasAccess = data;%0A        %7D%0A    %7D
 %0A%0A    se

rework the wired method