Skip to content

Commit

Permalink
Fix #250 Cannot edit banners with placeholder missions
Browse files Browse the repository at this point in the history
  • Loading branch information
NineBerry committed Aug 24, 2021
1 parent a621c47 commit 9834c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/create-banner/CreateBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ class CreateBanner extends React.Component<
) {
const removed = _.filter(
startMissions,
(m) => !_.some(addedMissions, (a) => a.id === m.id)
(m) => !isPlaceholder(m) && !_.some(addedMissions, (a) => a.id === m.id)
)
unusedMissions = _(unusedMissions)
.chain()
Expand Down

0 comments on commit 9834c8a

Please sign in to comment.