0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Fixed signup link for Portal prices

refs https://github.com/TryGhost/Team/issues/643
refs dd75d831c0

Last commit had incorrectly formatted the signup links for custom prices, fixed.
This commit is contained in:
Rishabh 2021-05-07 22:59:59 +05:30
parent 5d598d5e50
commit d2c82c8d27

View file

@ -60,9 +60,9 @@ export default Component.extend({
this.set('copiedPrice', price.id);
let data = '';
if (this.isLink) {
data = `#/portal/${price.id}`;
data = `#/portal/signup/${price.id}`;
} else {
data = `data-portal="${price.id}"`;
data = `data-portal="signup/${price.id}"`;
}
copyTextToClipboard(data);
yield timeout(this.isTesting ? 50 : 3000);