Skip to content

Commit c0ac789

Browse files
committed
fix: update subscriberName property in CastService and make banner clickable in Header component
1 parent a1e4416 commit c0ac789

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

extensions/cornerstone/src/services/CastService/CastService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export default class CastService extends PubSubService {
409409
// config.topic = 'PW44conf';
410410
// this.setTopic('PW44conf');
411411
// }
412-
this.hub.subscriberName = config.user_name;
412+
this.hub.subscriberName = config.subscriber_name;
413413
if (config.topic) {
414414
console.debug('CastService: Topic received: ', config.topic);
415415
this.setTopic(config.topic);

platform/ui-next/src/components/Header/Header.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ function Header({
9191
<div className="border-primary-dark mx-1.5 h-[25px] border-r"></div>
9292
{banner && (
9393
<>
94-
<div className="text-primary px-2 text-sm">{banner}</div>
94+
<a
95+
href="https://projectweek.na-mic.org/PW44_2026_GranCanaria/"
96+
target="_blank"
97+
rel="noopener noreferrer"
98+
className="text-primary px-2 text-sm hover:text-primary-light hover:underline cursor-pointer"
99+
>
100+
{banner}
101+
</a>
95102
<div className="border-primary-dark mx-1.5 h-[25px] border-r"></div>
96103
</>
97104
)}

0 commit comments

Comments
 (0)