refactor: new actions buttons text
This commit is contained in:
parent
5028fd7334
commit
a6a9ce4c0d
|
|
@ -134,7 +134,7 @@ export default function TimeEntriesPage() {
|
|||
leftIcon={<Play />}
|
||||
sx={{ marginTop: theme.spacing.sm, marginBottom: theme.spacing.sm }}
|
||||
>
|
||||
Start
|
||||
New
|
||||
</Button>
|
||||
<NativeSelect
|
||||
sx={{
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import {
|
|||
useNavigate
|
||||
} from '@remix-run/react';
|
||||
import * as React from 'react';
|
||||
import { AlertTriangle, Play } from 'react-feather';
|
||||
import { AlertTriangle, Play, Save } from 'react-feather';
|
||||
import { getProjects } from '~/models/project.server';
|
||||
import { createTimeEntry, stopAllTimeEntries } from '~/models/timeEntry.server';
|
||||
import { requireUserId } from '~/session.server';
|
||||
|
|
@ -411,8 +411,12 @@ export default function NewTimeEntryPage() {
|
|||
</Stack>
|
||||
|
||||
<Group position="left" mt="lg">
|
||||
<Button type="submit" leftIcon={<Play />} radius={theme.radius.md}>
|
||||
Start
|
||||
<Button
|
||||
type="submit"
|
||||
leftIcon={end ? <Save /> : <Play />}
|
||||
radius={theme.radius.md}
|
||||
>
|
||||
{end ? 'Save' : 'Start'}
|
||||
</Button>
|
||||
</Group>
|
||||
</Form>
|
||||
|
|
|
|||
Loading…
Reference in a new issue