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:
@ -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(
|
||||
|
Reference in New Issue
Block a user