@@ -20,6 +20,9 @@ function Actions(props) {
21 const addr = need.address({ wallet });
21 const addr = need.address({ wallet });
23+ const planet = isPlanet(point);
24+ const star = isStar(point);
23 const isOwner = pointDetails.matchWith({
26 const isOwner = pointDetails.matchWith({
24 Nothing: _ => false,
27 Nothing: _ => false,
25 Just: details => eqAddr(details.value.owner, addr),
28 Just: details => eqAddr(details.value.owner, addr),
@@ -29,7 +32,7 @@ function Actions(props) {
29 Just: details => details.value.active,
32 Just: details => details.value.active,
31 const isActiveOwner = isOwner && isActive;
34 const isActiveOwner = isOwner && isActive;
32− const canSetSpawnProxy = isActiveOwner;
35+ const canSetSpawnProxy = isActiveOwner && !planet;
33 const canSetManagementProxy = isActiveOwner;
36 const canSetManagementProxy = isActiveOwner;
35 const canManage =
38 const canManage =
@@ -58,9 +61,6 @@ function Actions(props) {
58 Just: count => count.value > 0,
61 Just: count => count.value > 0,
61− const planet = isPlanet(point);
62− const star = isStar(point);
64 const canTransfer = pointDetails.matchWith({
64 const canTransfer = pointDetails.matchWith({
65 Nothing: () => false,
65 Nothing: () => false,
66 Just: deets =>
66 Just: deets =>