Skip to content

Commit

Permalink
Merge pull request #350 from StephenMcConnel/RestoreWorkingUrlAlias-2…
Browse files Browse the repository at this point in the history
…0240109

fix: Restore "working" as a URL alias in BloomDesktop preview (20250109)
  • Loading branch information
hatton authored Jan 9, 2025
2 parents e4ea0fe + 63888f5 commit c1b68df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/bloom-player-core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,14 @@ export class BloomPlayerCore extends React.Component<IProps, IPlayerState> {

const newSourceUrl = this.preprocessUrl();
// Inside of Bloom Publish Preview,
// this will be "" if we should just keep spinning, waiting for a render with different
// this will be "/working" if we should just keep spinning, waiting for a render with different
// props once the bloomd is created.

if (newSourceUrl && newSourceUrl !== this.sourceUrl) {
if (
newSourceUrl &&
newSourceUrl !== "/working" &&
newSourceUrl !== this.sourceUrl
) {
this.finishUpCalled = false;
// We're changing books; reset several variables including isLoading,
// until we inform the controls which languages are available.
Expand Down

0 comments on commit c1b68df

Please sign in to comment.