Sfoglia il codice sorgente

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

fix/GW-3869-adjust-parmanent-link
Yuki Takei 5 anni fa
parent
commit
20d774c902
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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) {