fix(nc-gui): show usermaycharge alert message only if use has to pay for next seat

This commit is contained in:
Ramesh Mane
2025-07-15 12:41:31 +00:00
parent d8933dc448
commit bb4e03cddb
2 changed files with 8 additions and 2 deletions

View File

@@ -57,6 +57,10 @@ export const useEeConfig = createSharedComposable(() => {
const blockPrivateBases = computed(() => true)
const showUserMayChargeAlert = computed(() => false)
const calculatePrice = (..._args: any[]) => {}
const getLimit = (..._args: any[]) => {}
const getStatLimit = (..._args: any[]) => {}
@@ -110,6 +114,7 @@ export const useEeConfig = createSharedComposable(() => {
const showUpgradeToUsePrivateBases = (..._args: any[]) => {}
return {
calculatePrice,
getLimit,
getStatLimit,
updateStatLimit,
@@ -160,5 +165,6 @@ export const useEeConfig = createSharedComposable(() => {
showUpgradeToUseScripts,
blockPrivateBases,
showUpgradeToUsePrivateBases,
showUserMayChargeAlert
}
})