mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 20:46:01 +00:00
handle readonly connection
This commit is contained in:
@@ -272,7 +272,8 @@
|
||||
),
|
||||
],
|
||||
|
||||
driver?.databaseEngineTypes?.includes('sql') && { onClick: handleSqlRestore, text: 'Restore/import SQL dump' },
|
||||
driver?.databaseEngineTypes?.includes('sql') &&
|
||||
!data.isReadOnly && { onClick: handleSqlRestore, text: 'Restore/import SQL dump' },
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user