From 9adb4b41c6fdc1a78a2c582ccc9c5f4ce91bb364 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Mon, 15 Mar 2021 19:38:56 +0100 Subject: [PATCH] redo in toolbar --- packages/web/src/datagrid/DataGridCore.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web/src/datagrid/DataGridCore.svelte b/packages/web/src/datagrid/DataGridCore.svelte index 4b6e8664..3b1402bd 100644 --- a/packages/web/src/datagrid/DataGridCore.svelte +++ b/packages/web/src/datagrid/DataGridCore.svelte @@ -85,6 +85,8 @@ category: 'Data grid', name: 'Redo', keyText: 'Ctrl+Y', + icon: 'icon redo', + toolbar: true, testEnabled: () => getCurrentDataGrid()?.getGrider()?.canRedo, onClick: () => getCurrentDataGrid().redo(), });