This commit is contained in:
seb
2026-10-17 05:11:07 +02:00
parent 54066fba7f
commit 20d83b00fc
11 changed files with 845 additions and 13 deletions

View File

@@ -36,6 +36,7 @@ import deliveryAutomat from './deliveryAutomat';
import orderAutomat from './orderAutomat';
import quoteAutomat from './quoteAutomat';
import shipmentAutomat from './shipmentAutomat';
import carrierAutomat from './carrierAutomat';
/**
@@ -223,6 +224,12 @@ function connect() {
});
});
addTrackedListener(es, 'carrier', () => {
void carrierAutomat.actions.reload().catch((err) => {
console.error('[sse] carrier refresh failed', err);
});
});
addTrackedListener(es, 'attributename', () => {
void attributeAutomat.actions.load().catch((err) => {
console.error('[sse] attributename refresh failed', err);