mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-06 12:23:55 +00:00
fixed inverted embedded check for LeaderboardGroupPanel
This commit is contained in:
1 parent
9422d904f7
commit
deff935b42
1 file changed
+2
-2
+2
-2
@@ -183,10 +183,10 @@ public class LeaderboardGroupPanel extends FormPanel implements HasWelcomeWidget
|
|||||||
+ "&leaderboardGroupName=" + group.name + "&root=" + root
|
+ "&leaderboardGroupName=" + group.name + "&root=" + root
|
||||||
+ (debugParam != null && !debugParam.isEmpty() ? "&gwt.codesvr=" + debugParam : ""));
|
+ (debugParam != null && !debugParam.isEmpty() ? "&gwt.codesvr=" + debugParam : ""));
|
||||||
if (embedded) {
|
if (embedded) {
|
||||||
return ANCHORTEMPLATE.anchor(link, stringConstants.overview(), STYLE_NAME_PREFIX + "ActiveLeaderboard");
|
|
||||||
} else {
|
|
||||||
return ANCHORTEMPLATE.anchorWithTarget(link, stringConstants.overview(), STYLE_NAME_PREFIX + "ActiveLeaderboard",
|
return ANCHORTEMPLATE.anchorWithTarget(link, stringConstants.overview(), STYLE_NAME_PREFIX + "ActiveLeaderboard",
|
||||||
/* target */ "_blank");
|
/* target */ "_blank");
|
||||||
|
} else {
|
||||||
|
return ANCHORTEMPLATE.anchor(link, stringConstants.overview(), STYLE_NAME_PREFIX + "ActiveLeaderboard");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user