fixes based on comments from LianaHus

pull/5370/head
Joseph Izang 3 years ago
parent e142dcaa12
commit 33340f9afb
  1. 1
      apps/remix-ide/src/app/components/plugin-manager-component.js
  2. 4
      libs/remix-ui/plugin-manager/src/lib/components/permissions/permissionsSettings.tsx

@ -22,7 +22,6 @@ const profile = {
class PluginManagerComponent extends ViewPlugin {
constructor (appManager, engine) {
super(profile)
// this.event = new EventEmitter() // already exists in engine so not needed here
this.appManager = appManager
this.engine = engine
this.pluginManagerSettings = new PluginManagerSettings()

@ -91,10 +91,12 @@ function PermisssionsSettings ({ pluginSettings }: PermissionSettingsProps) {
handleHide={closeModal}
hide={modalVisibility}
title="Plugin Manager Permissions"
okLabel="OK"
cancelLabel="Cancel"
>
{verifyPermission ? (<h4 className="text-center">Current Permission Settings</h4>) : (<h4 className="text-center">No Permission requested yet.</h4>)}
<form className="remixui_permissionForm" data-id="pluginManagerSettingsPermissionForm">
<div className="border p-2">
<div className="p-2">
{
Object.keys(permissions).map(toplevelName => (
<ShowPluginHeading key={toplevelName} headingName={toplevelName} />

Loading…
Cancel
Save