mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: use origin + pathname as libraryReturnUrl default (#3325)
This commit is contained in:
parent
5ffdd3f32d
commit
1b626175de
3 changed files with 11 additions and 2 deletions
|
@ -121,7 +121,8 @@ const LibraryMenuItems = ({
|
|||
const rows = [];
|
||||
let addedPendingElements = false;
|
||||
|
||||
const referrer = libraryReturnUrl || window.location.origin;
|
||||
const referrer =
|
||||
libraryReturnUrl || window.location.origin + window.location.pathname;
|
||||
|
||||
rows.push(
|
||||
<div className="layer-ui__library-header" key="library-header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue