fix: admin/plugins: empty message not displayed

Massimo Melina committed May 14, 2022 at 00:51 UTC cdc52db2c88a35456a2e69863c12a6f85d7c3c5f
1 file changed +2 -1
admin/src/OnlinePlugins.ts
+2 -1
@@ -23,7 +23,8 @@ export default function OnlinePlugins() {
23 label: "Search text"
24 }),
25 h(DataGrid, {
26 - rows: list,
26 + rows: list.length ? list : [], // workaround for DataGrid bug causing 'no rows' message to be not displayed after 'loading' was also used
27 + localeText: { noRowsLabel: "No compatible plugins have been found" },
28 loading: initializing,
29 columns: [
30 {