mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 00:46:01 +00:00
SYNC: autocommit icons
This commit is contained in:
committed by
Diflow
parent
9e9dec5389
commit
2268086eac
@@ -213,6 +213,8 @@
|
||||
'icon transaction': 'mdi mdi-code-json',
|
||||
'icon commit': 'mdi mdi-check-circle',
|
||||
'icon rollback': 'mdi mdi-close-circle',
|
||||
'icon autocommit-on': 'mdi mdi-check-circle',
|
||||
'icon autocommit-off': 'mdi mdi-check-circle-outline',
|
||||
|
||||
'img ok': 'mdi mdi-check-circle color-icon-green',
|
||||
'img ok-inv': 'mdi mdi-check-circle color-icon-inv-green',
|
||||
|
||||
@@ -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