mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 23:00:59 +00:00
small changes to event logo
This commit is contained in:
1 parent
25c6fb0052
commit
0a7d338103
1 file changed
-5
-5
@@ -1,8 +1,6 @@
|
||||
package com.sap.sailing.dashboards.gwt.client;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import com.google.gwt.dom.client.Style.Visibility;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
@@ -12,8 +10,6 @@ import com.sap.sailing.gwt.ui.shared.EventDTO;
|
||||
|
||||
public class EventLogo extends Image {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(RibDashboardPanel.class.getName());
|
||||
|
||||
protected EventLogo() {
|
||||
super();
|
||||
this.getElement().addClassName("eventLogo");
|
||||
@@ -26,7 +22,6 @@ public class EventLogo extends Image {
|
||||
sailingServiceAsync.getEventById(eventUUID, true, new AsyncCallback<EventDTO>() {
|
||||
@Override
|
||||
public void onSuccess(final EventDTO event) {
|
||||
logger.log(Level.INFO, "GOT EVENT: ");
|
||||
final String logoUrl = event.getLogoImageURL();
|
||||
if (logoUrl != null) {
|
||||
eventLogo.getElement().setAttribute("src", logoUrl);
|
||||
|
||||
Reference in new issue
Block a user