Skip to content

Commit

Permalink
use noPublishOnAuthoringDesk config in "publish from" dropdown (publi…
Browse files Browse the repository at this point in the history
…sh pane) (#4547)
  • Loading branch information
tomaskikutis authored and petrjasek committed Jun 18, 2024
1 parent b3fc2eb commit bc968db
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ export class WithPublishTab extends React.PureComponent<IProps, IState> {
* choosing a stage would not have an impact
*/
hideStages={true}

availableDesks={sdApi.desks.getAllDesks()
.filter((desk) => sdApi.article.canPublishOnDesk(desk.desk_type))
.toOrderedMap()
}
/>
</ToggleBox>
)
Expand Down

0 comments on commit bc968db

Please sign in to comment.