mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
focus on description after starting time tracker, ST-254
This commit is contained in:
@@ -8,7 +8,7 @@ import TimeTrackerStartStop from '@/Components/Common/TimeTrackerStartStop.vue';
|
||||
import { getCurrentOrganizationId } from '@/utils/useUser';
|
||||
const store = useCurrentTimeEntryStore();
|
||||
const { currentTimeEntry, now, isActive } = storeToRefs(store);
|
||||
const { onToggleButtonPress } = store;
|
||||
const { setActiveState } = store;
|
||||
|
||||
const currentTime = computed(() => {
|
||||
if (now.value && currentTimeEntry.value.start) {
|
||||
@@ -50,7 +50,7 @@ const isRunningInDifferentOrganization = computed(() => {
|
||||
</div>
|
||||
<TimeTrackerStartStop
|
||||
:active="isActive"
|
||||
@changed="onToggleButtonPress"
|
||||
@changed="setActiveState"
|
||||
size="base"></TimeTrackerStartStop>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user