1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

only show pricing banner in prod and once

This commit is contained in:
Martin McKeaveney 2023-11-28 08:59:34 +00:00
parent 5301c1edd9
commit b357b6d2e8

View file

@ -200,7 +200,9 @@
if (usersLimitLockAction) {
usersLimitLockAction()
}
banner.queue([
if (!$admin.isDev) {
await banner.show({
messages: [
{
message:
"We've updated our pricing - read the blog post to learn more.",
@ -209,7 +211,9 @@
extraButtonAction: () =>
window.open("https://budibase.com/blog/updates/pricing-v3"),
},
])
],
})
}
} catch (error) {
notifications.error("Error getting init info")
}