wrong link for groups button

This commit is contained in:
Peter Clement 2022-07-14 11:18:31 +01:00
parent f0d303ca19
commit fbffe43c97
2 changed files with 3 additions and 2 deletions

View File

@ -72,7 +72,9 @@
newStyles
icon={isProPlan ? "UserGroup" : ""}
cta={isProPlan}
on:click={() => modal.show()}
on:click={isProPlan
? () => modal.show()
: window.open("https://budibase.com/pricing/", "_blank")}
>{isProPlan ? "Create user group" : "Upgrade Account"}</Button
>
{#if !isProPlan}

View File

@ -73,7 +73,6 @@ const checkAuthorizedResource = async (
export = (permType: any, permLevel: any = null, opts = { schema: false }) =>
async (ctx: any, next: any) => {
console.log(ctx)
// webhooks don't need authentication, each webhook unique
// also internal requests (between services) don't need authorized
if (isWebhookEndpoint(ctx) || ctx.internal) {