mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 19:36:02 +00:00
fix
This commit is contained in:
@@ -1082,14 +1082,14 @@
|
|||||||
$: {
|
$: {
|
||||||
const stringified = stableStringify(selectedCells);
|
const stringified = stableStringify(selectedCells);
|
||||||
if (
|
if (
|
||||||
(lastPublishledSelectedCellsRef.get() != stringified || changeSetValueRef.get() != $changeSetStore.value) &&
|
(lastPublishledSelectedCellsRef.get() != stringified || changeSetValueRef.get() != $changeSetStore?.value) &&
|
||||||
realColumnUniqueNames?.length > 0
|
realColumnUniqueNames?.length > 0
|
||||||
) {
|
) {
|
||||||
tick().then(() => {
|
tick().then(() => {
|
||||||
const rowIndexes = _.uniq(selectedCells.map(x => x[0]));
|
const rowIndexes = _.uniq(selectedCells.map(x => x[0]));
|
||||||
if (rowIndexes.every(x => grider.getRowData(x))) {
|
if (rowIndexes.every(x => grider.getRowData(x))) {
|
||||||
lastPublishledSelectedCellsRef.set(stringified);
|
lastPublishledSelectedCellsRef.set(stringified);
|
||||||
changeSetValueRef.set($changeSetStore.value);
|
changeSetValueRef.set($changeSetStore?.value);
|
||||||
$selectedCellsCallback = () => getCellsPublished(selectedCells);
|
$selectedCellsCallback = () => getCellsPublished(selectedCells);
|
||||||
|
|
||||||
if (onChangeSelectedColumns) {
|
if (onChangeSelectedColumns) {
|
||||||
|
|||||||
Reference in New Issue
Block a user