File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1293,7 +1293,8 @@ export class AppStore {
12931293 }
12941294
12951295 let updatedStatus = await this . fetchStatus ( false , true , isReview ) ;
1296- let editUrl = updatedStatus . edit ?. url || this . getBYOMSourceUrl ( updatedStatus ) ;
1296+ // prefer configured contentSourceEditPattern URL; otherwise fall back to status edit URL.
1297+ let editUrl = this . getBYOMSourceUrl ( updatedStatus ) || updatedStatus . edit ?. url ;
12971298
12981299 if ( isReview ) {
12991300 // restore original pathname and state
@@ -1302,7 +1303,8 @@ export class AppStore {
13021303 if ( ! editUrl ) {
13031304 // no snapshot source, fall back to original edit URL
13041305 updatedStatus = await this . fetchStatus ( false , true ) ;
1305- editUrl = updatedStatus . edit ?. url || this . getBYOMSourceUrl ( updatedStatus ) ;
1306+ // prefer configured contentSourceEditPattern URL; otherwise fall back to status edit URL.
1307+ editUrl = this . getBYOMSourceUrl ( updatedStatus ) || updatedStatus . edit ?. url ;
13061308 }
13071309 }
13081310
You can’t perform that action at this time.
0 commit comments