Explorar el Código

Merge pull request #2800 from weseek/fix/GW-3869-adjust-parmanent-link

fix/GW-3869-adjust-parmanent-link
Yuki Takei hace 5 años
padre
commit
20d774c902
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {