2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Add plugin support status to server information screen

This commit is contained in:
Oliver Walters
2022-05-10 08:12:53 +10:00
parent 9f6269375f
commit bc53dafaba
2 changed files with 18 additions and 0 deletions

View File

@ -102,6 +102,18 @@ class InvenTreeAboutWidget extends StatelessWidget {
leading: FaIcon(FontAwesomeIcons.server),
)
);
// Display extra tile if the server supports plugins
if (InvenTreeAPI().pluginsEnabled()) {
tiles.add(
ListTile(
title: Text(L10().pluginSupport),
subtitle: Text(L10().pluginSupportDetail),
leading: FaIcon(FontAwesomeIcons.plug),
)
);
}
} else {
tiles.add(
ListTile(