Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix transition input/output not showing up, add fixme note #5947

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/>
</span>
<span class="unit" :class="{ time: isTimePart }">
<template v-if="input && output">
<template v-if="input || output">
<span><label>Input:</label> {{ input }}</span>
<span><label>Output:</label> {{ output }}</span>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ export enum PartType {
TRANSITION = 'TRANSITION'
}

// FIXME: should refactor so typing is explicit and clear
// Note "model" is both an AMR model, or it can be a list of transition templates
export function createPartsList(parts, model, partType) {
return Array.from(parts.keys()).map((id) => {
const childTargets = parts.get(id) ?? [];
Expand Down