diff --git a/src/contexts/RyzenAdjContext.tsx b/src/contexts/RyzenAdjContext.tsx index 8a52277..9e58694 100644 --- a/src/contexts/RyzenAdjContext.tsx +++ b/src/contexts/RyzenAdjContext.tsx @@ -230,9 +230,9 @@ export const ryzenAdjProcess = function(parameters: Array): Promise{i18n.failed}; + } + if (this._state === State.PermissionError) { + return

{i18n.permissions}

; + } if (Object.keys(this.data).length === 0) { - return

{i18n.noData}

; + return

{i18n.noData}

; } return (