Skip to content

Commit 2abc890

Browse files
authored
Use swap command as well.
1 parent b94a3c9 commit 2abc890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/IndexQueue/RecordMonitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function processCmdmap_postProcess(
9898

9999
// track publish / swap events for records (workspace support)
100100
// command "version"
101-
if ($command === 'version' && $value['action'] === 'publish') {
101+
if ($command === 'version' && ($value['action'] === 'publish' || $value['action'] === 'swap')) {
102102
$this->eventDispatcher->dispatch(
103103
new VersionSwappedEvent($uid, $table),
104104
);

0 commit comments

Comments
 (0)