mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 20:52:14 +01:00
add formating options to organization settings
This commit is contained in:
committed by
Constantin Graf
parent
49af3d4371
commit
f5b0f40b23
@@ -7,6 +7,7 @@ import type { Organization } from '@/types/models';
|
||||
import type { Permissions, Role } from '@/types/jetstream';
|
||||
import { canUpdateOrganization } from '@/utils/permissions';
|
||||
import OrganizationBillableRate from '@/Pages/Teams/Partials/OrganizationBillableRate.vue';
|
||||
import OrganizationFormatSettings from '@/Pages/Teams/Partials/OrganizationFormatSettings.vue';
|
||||
|
||||
defineProps<{
|
||||
team: Organization;
|
||||
@@ -33,6 +34,11 @@ defineProps<{
|
||||
:team="team" />
|
||||
<SectionBorder />
|
||||
|
||||
<OrganizationFormatSettings
|
||||
v-if="canUpdateOrganization()"
|
||||
:team="team" />
|
||||
<SectionBorder />
|
||||
|
||||
<template
|
||||
v-if="permissions.canDeleteTeam && !team.personal_team">
|
||||
<DeleteTeamForm class="mt-10 sm:mt-0" :team="team" />
|
||||
|
||||
Reference in New Issue
Block a user