mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
update UI after set of tracked events/races and configuratoins may have changed
This commit is contained in:
1 parent
4b4026534a
commit
4446a60bec
1 file changed
+8
-2
+8
-2
@@ -284,7 +284,9 @@ public class EventManagementPanel extends FormPanel {
|
||||
errorReporter.reportError("Exception trying to stop tracking event "+event.name+": "+caught.getMessage());
|
||||
}
|
||||
@Override
|
||||
public void onSuccess(Void result) {}
|
||||
public void onSuccess(Void result) {
|
||||
fillEvents();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -387,6 +389,8 @@ public class EventManagementPanel extends FormPanel {
|
||||
|
||||
@Override
|
||||
public void onSuccess(Void result) {
|
||||
// refresh list of previous configurations
|
||||
fillConfigurations();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -406,7 +410,9 @@ public class EventManagementPanel extends FormPanel {
|
||||
errorReporter.reportError("Error trying to register race "+rr.name+" for tracking: "+caught.getMessage());
|
||||
}
|
||||
@Override
|
||||
public void onSuccess(Void result) {}
|
||||
public void onSuccess(Void result) {
|
||||
fillEvents();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user