mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 00:56: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 transaction': 'mdi mdi-code-json',
|
||||||
'icon commit': 'mdi mdi-check-circle',
|
'icon commit': 'mdi mdi-check-circle',
|
||||||
'icon rollback': 'mdi mdi-close-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': 'mdi mdi-check-circle color-icon-green',
|
||||||
'img ok-inv': 'mdi mdi-check-circle color-icon-inv-green',
|
'img ok-inv': 'mdi mdi-check-circle color-icon-inv-green',
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
id: 'query.autocommitOffSwitch',
|
id: 'query.autocommitOffSwitch',
|
||||||
category: 'Query',
|
category: 'Query',
|
||||||
name: 'Auto commit: OFF',
|
name: 'Auto commit: OFF',
|
||||||
icon: 'icon transaction',
|
icon: 'icon autocommit-off',
|
||||||
testEnabled: () => getCurrentEditor()?.autocommitOffSwitchEnabled(),
|
testEnabled: () => getCurrentEditor()?.autocommitOffSwitchEnabled(),
|
||||||
onClick: () => getCurrentEditor().autocommitOffSwitch(),
|
onClick: () => getCurrentEditor().autocommitOffSwitch(),
|
||||||
});
|
});
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
id: 'query.autocommitOnSwitch',
|
id: 'query.autocommitOnSwitch',
|
||||||
category: 'Query',
|
category: 'Query',
|
||||||
name: 'Auto commit: ON',
|
name: 'Auto commit: ON',
|
||||||
icon: 'icon transaction',
|
icon: 'icon autocommit-on',
|
||||||
testEnabled: () => getCurrentEditor()?.autocommitOnSwitchEnabled(),
|
testEnabled: () => getCurrentEditor()?.autocommitOnSwitchEnabled(),
|
||||||
onClick: () => getCurrentEditor().autocommitOnSwitch(),
|
onClick: () => getCurrentEditor().autocommitOnSwitch(),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user