this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Extra check if the composer is publishing

+10 -3
+10 -3
src/components/compose.jsx
··· 788 788 } 789 789 790 790 if (window.opener.__STATES__.showCompose) { 791 - const yes = confirm( 792 - 'Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?', 793 - ); 791 + if (window.opener.__STATES__.composerState?.publishing) { 792 + alert( 793 + 'Looks like you already have a compose field open in the parent window and currently publishing. Please wait for it to be done and try again later.', 794 + ); 795 + return; 796 + } 797 + 798 + let confirmText = 799 + 'Looks like you already have a compose field open in the parent window. Popping in this window will discard the changes you made in the parent window. Continue?'; 800 + const yes = confirm(confirmText); 794 801 if (!yes) return; 795 802 } 796 803