This commit is contained in:
Jan Prochazka
2024-07-24 12:48:02 +02:00
parent bacb9510d7
commit 227d81a01a

View File

@@ -1082,14 +1082,14 @@
$: {
const stringified = stableStringify(selectedCells);
if (
(lastPublishledSelectedCellsRef.get() != stringified || changeSetValueRef.get() != $changeSetStore.value) &&
(lastPublishledSelectedCellsRef.get() != stringified || changeSetValueRef.get() != $changeSetStore?.value) &&
realColumnUniqueNames?.length > 0
) {
tick().then(() => {
const rowIndexes = _.uniq(selectedCells.map(x => x[0]));
if (rowIndexes.every(x => grider.getRowData(x))) {
lastPublishledSelectedCellsRef.set(stringified);
changeSetValueRef.set($changeSetStore.value);
changeSetValueRef.set($changeSetStore?.value);
$selectedCellsCallback = () => getCellsPublished(selectedCells);
if (onChangeSelectedColumns) {