mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 21:55:59 +00:00
indicator of changed rows in save button
This commit is contained in:
@@ -530,3 +530,7 @@ export function changeSetContainsChanges(changeSet: ChangeSet) {
|
||||
changeSet.dataUpdateCommands?.length > 0
|
||||
);
|
||||
}
|
||||
|
||||
export function changeSetChangedCount(changeSet: ChangeSet) {
|
||||
return changeSet.deletes.length + changeSet.updates.length + changeSet.inserts.length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user