Fondation
This commit is contained in:
parent
eeb4c31807
commit
1af01840c3
@ -657,7 +657,7 @@ export default function MissionDetailPage() {
|
|||||||
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')
|
||||||
@ -692,7 +692,7 @@ export default function MissionDetailPage() {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
return isValid(mission.outlineCollectionId);
|
return isValid(mission.outlineCollectionId);
|
||||||
})() && (() => {
|
})() && mission.outlineCollectionId && (() => {
|
||||||
// Build Outline URL: chapitre.slm-lab.net/collection/[collectionId]
|
// Build Outline URL: chapitre.slm-lab.net/collection/[collectionId]
|
||||||
// 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 outlineUrl = mission.outlineCollectionId.startsWith('http')
|
const outlineUrl = mission.outlineCollectionId.startsWith('http')
|
||||||
@ -769,7 +769,7 @@ export default function MissionDetailPage() {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
return isValid(mission.leantimeProjectId);
|
return isValid(mission.leantimeProjectId);
|
||||||
})() && (() => {
|
})() && mission.leantimeProjectId && (() => {
|
||||||
// Build Leantime URL: agilite.slm-lab.net/projects/showProject/[projectId]
|
// Build Leantime URL: agilite.slm-lab.net/projects/showProject/[projectId]
|
||||||
// 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 leantimeUrl = mission.leantimeProjectId.startsWith('http')
|
const leantimeUrl = mission.leantimeProjectId.startsWith('http')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user