1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-11 18:20:27 +09:00

JS-4062: invite link

This commit is contained in:
Andrew Simachev 2024-03-29 13:45:36 +01:00
parent d87cb75355
commit 9273b218ea
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 5 additions and 2 deletions

View file

@ -19,5 +19,6 @@
"gallery": "https://gallery.any.coop",
"cdn": "https://anytype-static.fra1.cdn.digitaloceanspaces.com",
"webclipper": "https://chromewebstore.google.com/detail/anytype-web-clipper/jbnammhjiplhpjfncnlejjjejghimdkf?hl=en",
"membershipSpecial": "mailto:support@anytype.io?subject=Special%20Pricing%20Request%20AnytypeId%20%25accountId%25&body=Please%20specify%20your%20request%3A%0A-%20highlight%20if%20you%20represent%20an%20educational%2C%20governmental%2C%20or%20non-profit%20organization%0A-%20tell%20us%20more%20about%20your%20organization%3A%20number%20of%20employees%20and%20future%20Anytype%20users%2C%20markets%20you%27re%20working%20on%2C%20etc.%2C%0A-%20provide%20additional%20details%20about%20how%20your%20organization%20uses%20Anytype"
"membershipSpecial": "mailto:support@anytype.io?subject=Special%20Pricing%20Request%20AnytypeId%20%25accountId%25&body=Please%20specify%20your%20request%3A%0A-%20highlight%20if%20you%20represent%20an%20educational%2C%20governmental%2C%20or%20non-profit%20organization%0A-%20tell%20us%20more%20about%20your%20organization%3A%20number%20of%20employees%20and%20future%20Anytype%20users%2C%20markets%20you%27re%20working%20on%2C%20etc.%2C%0A-%20provide%20additional%20details%20about%20how%20your%20organization%20uses%20Anytype",
"invite": "https://invite.any.coop/%s#%s"
}

View file

@ -7,6 +7,7 @@ import { authStore, popupStore, commonStore, menuStore } from 'Store';
import { AutoSizer, WindowScroller, CellMeasurer, CellMeasurerCache, List } from 'react-virtualized';
import Head from '../head';
import Constant from 'json/constant.json';
import Url from 'json/url.json';
interface State {
isLoading: boolean;
@ -298,7 +299,8 @@ const PopupSettingsSpaceShare = observer(class PopupSettingsSpaceShare extends R
getLink () {
const { cid, key } = this.state;
return `${Constant.protocol}://invite/?cid=${cid}&key=${key}`
//return UtilCommon.sprintf(Url.invite, cid, key);
return `${Constant.protocol}://invite/?cid=${cid}&key=${key}`;
};
onCopy () {