mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 09:12:15 +01:00
hide billable rate in projects table for employees when employees_can_see_billable_rates is disabled
This commit is contained in:
committed by
Constantin Graf
parent
6c7b1b3f21
commit
8d950c6d45
@@ -21,6 +21,7 @@ const { tasks } = storeToRefs(useTasksStore());
|
||||
|
||||
const props = defineProps<{
|
||||
project: Project;
|
||||
showBillableRate: boolean;
|
||||
}>();
|
||||
|
||||
const client = computed(() => {
|
||||
@@ -104,7 +105,9 @@ const showEditProjectModal = ref(false);
|
||||
:current="project.spent_time"></EstimatedTimeProgress>
|
||||
<span v-else> -- </span>
|
||||
</div>
|
||||
<div class="whitespace-nowrap px-3 py-4 text-sm text-muted">
|
||||
<div
|
||||
class="whitespace-nowrap px-3 py-4 text-sm text-muted"
|
||||
v-if="showBillableRate">
|
||||
{{ billableRateInfo }}
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user