Update Distribution Set in table
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -132,6 +132,11 @@ public class DistributionTable extends AbstractTable<DistributionSet, Distributi
|
|||||||
@EventBusListenerMethod(scope = EventScope.SESSION)
|
@EventBusListenerMethod(scope = EventScope.SESSION)
|
||||||
void onEvent(final DistributionTableEvent event) {
|
void onEvent(final DistributionTableEvent event) {
|
||||||
onBaseEntityEvent(event);
|
onBaseEntityEvent(event);
|
||||||
|
if (BaseEntityEventType.UPDATED_ENTITY != event.getEventType()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
UI.getCurrent().access(() -> updateDistributionInTable(event.getEntity()));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventBusListenerMethod(scope = EventScope.SESSION)
|
@EventBusListenerMethod(scope = EventScope.SESSION)
|
||||||
|
|||||||
Reference in New Issue
Block a user