mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 17:52:15 +01:00
hide create project buttons and modal depending on the permission
This commit is contained in:
@@ -36,6 +36,7 @@ const props = defineProps<{
|
||||
) => Promise<void>;
|
||||
currency: string;
|
||||
enableEstimatedTime: boolean;
|
||||
canCreateProject: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -156,6 +157,7 @@ watch(removeAllTags, () => {
|
||||
:createProject
|
||||
:createClient
|
||||
:currency="currency"
|
||||
:canCreateProject
|
||||
class="mt-1"
|
||||
empty-placeholder="Select project..."
|
||||
allow-reset
|
||||
|
||||
Reference in New Issue
Block a user