2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-14 03:05:32 +00:00

Adds placeholder for action to delete part

This commit is contained in:
Oliver
2021-08-10 16:58:59 +10:00
parent fcc5bf8c30
commit 0d11af002b
3 changed files with 28 additions and 1 deletions

View File

@ -297,6 +297,20 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
}
}
if (tiles.length == 0) {
tiles.add(
ListTile(
title: Text(
L10().actionsNone
),
subtitle: Text(
L10().permissionAccountDenied,
),
leading: FaIcon(FontAwesomeIcons.userTimes),
)
);
}
return tiles;
}