mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
deactivate available plugins in navigation
This commit is contained in:
@@ -145,10 +145,11 @@ class Admin extends React.Component<Props> {
|
||||
to={`${url}/plugins/installed/`}
|
||||
label={t("plugins.menu.installedNavLink")}
|
||||
/>
|
||||
<NavLink
|
||||
to={`${url}/plugins/available/`}
|
||||
label={t("plugins.menu.availableNavLink")}
|
||||
/>
|
||||
{/* Activate this again after available plugins page is created */}
|
||||
{/*<NavLink*/}
|
||||
{/* to={`${url}/plugins/available/`}*/}
|
||||
{/* label={t("plugins.menu.availableNavLink")}*/}
|
||||
{/*/>*/}
|
||||
</SubNavigation>
|
||||
<NavLink
|
||||
to={`${url}/roles/`}
|
||||
|
||||
@@ -29,7 +29,7 @@ public class UIPluginDtoMapper {
|
||||
UIPluginDto dto = new UIPluginDto();
|
||||
dto.setName(plugin.getPlugin().getInformation().getName());
|
||||
dto.setBundles(getScriptResources(plugin));
|
||||
dto.setType(plugin.getPlugin().getInformation().getCategory() != null ? plugin.getPlugin().getInformation().getCategory() : "No Category defined");
|
||||
dto.setType(plugin.getPlugin().getInformation().getCategory() != null ? plugin.getPlugin().getInformation().getCategory() : "Sonstige/Miscellaneous");
|
||||
dto.setVersion(plugin.getPlugin().getInformation().getVersion());
|
||||
dto.setAuthor(plugin.getPlugin().getInformation().getAuthor());
|
||||
dto.setDescription(plugin.getPlugin().getInformation().getDescription());
|
||||
|
||||
Reference in New Issue
Block a user