Fondation
This commit is contained in:
parent
8ca2a3de18
commit
7e08a47166
@ -434,7 +434,7 @@ export default function MissionTabDetailPage() {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
return isValid(mission.rocketChatChannelId);
|
return isValid(mission.rocketChatChannelId);
|
||||||
})() && (() => {
|
})() && mission.rocketChatChannelId && (() => {
|
||||||
// Build RocketChat URL: parole.slm-lab.net/channel/[channelId]
|
// Build RocketChat URL: parole.slm-lab.net/channel/[channelId]
|
||||||
// If it's already a full URL, use it; otherwise build from ID
|
// If it's already a full URL, use it; otherwise build from ID
|
||||||
const rocketChatUrl = mission.rocketChatChannelId.startsWith('http')
|
const rocketChatUrl = mission.rocketChatChannelId.startsWith('http')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user