mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
SYNC: autocommit icons
This commit is contained in:
committed by
Diflow
parent
9e9dec5389
commit
2268086eac
@@ -71,16 +71,16 @@
|
||||
registerCommand({
|
||||
id: 'query.autocommitOffSwitch',
|
||||
category: 'Query',
|
||||
name: 'Autocommit: OFF',
|
||||
icon: 'icon transaction',
|
||||
name: 'Auto commit: OFF',
|
||||
icon: 'icon autocommit-off',
|
||||
testEnabled: () => getCurrentEditor()?.autocommitOffSwitchEnabled(),
|
||||
onClick: () => getCurrentEditor().autocommitOffSwitch(),
|
||||
});
|
||||
registerCommand({
|
||||
id: 'query.autocommitOnSwitch',
|
||||
category: 'Query',
|
||||
name: 'Autocommit: ON',
|
||||
icon: 'icon transaction',
|
||||
name: 'Auto commit: ON',
|
||||
icon: 'icon autocommit-on',
|
||||
testEnabled: () => getCurrentEditor()?.autocommitOnSwitchEnabled(),
|
||||
onClick: () => getCurrentEditor().autocommitOnSwitch(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user