Fixed draft button being shown
This commit is contained in:
parent
0225805782
commit
ff725eaf4c
@ -10,10 +10,11 @@ component Groups(groups []*arn.Group, nextIndex int, user *arn.User)
|
||||
|
||||
.corner-buttons
|
||||
if user != nil
|
||||
if user.DraftIndex().GroupID == "" && user.IsPro()
|
||||
button.action(data-action="newObject", data-trigger="click", data-type="group")
|
||||
Icon("plus")
|
||||
span New group
|
||||
if user.DraftIndex().GroupID == ""
|
||||
if user.IsPro()
|
||||
button.action(data-action="newObject", data-trigger="click", data-type="group")
|
||||
Icon("plus")
|
||||
span New group
|
||||
else
|
||||
a.button(href="/group/" + user.DraftIndex().GroupID + "/edit")
|
||||
Icon("pencil")
|
||||
|
@ -24,6 +24,10 @@ component Shop(items []*arn.ShopItem, itemPopularity map[string]int, user *arn.U
|
||||
Icon("check")
|
||||
span Customize your cover image
|
||||
|
||||
li.pro-benefit.mountable
|
||||
Icon("check")
|
||||
span Gain early access to new features
|
||||
|
||||
li.pro-benefit.mountable
|
||||
Icon("check")
|
||||
span Secure a spot on the supporters page
|
||||
|
Loading…
Reference in New Issue
Block a user