itizawa il y a 5 ans
Parent
commit
72fb5f4106
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/client/js/components/Page/CopyDropdown.jsx

+ 1 - 0
src/client/js/components/Page/CopyDropdown.jsx

@@ -75,6 +75,7 @@ class CopyDropdown extends React.Component {
   }
 
   generatePermalink() {
+    const { origin } = window.location;
     const { pageId, isShareLinkMode } = this.props;
 
     if (pageId == null) {