mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-09 16:52:17 +01:00
use dynamic billing extension setting in the frontend
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
import { usePage } from '@inertiajs/vue3';
|
||||
|
||||
export function isBillingActivated() {
|
||||
return true;
|
||||
const page = usePage<{
|
||||
has_billing_extension: boolean;
|
||||
}>();
|
||||
|
||||
return page.props.has_billing_extension;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user