show stage in rotation selector

This commit is contained in:
Kalle (Sendou)
2020-12-19 21:38:46 +02:00
parent d9ce4a9050
commit 8431c92d64
2 changed files with 7 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ const RotationSelector: React.FC<Props> = ({ rotationId, setRotationId }) => {
<Box my={2} fontWeight="bold">
#{rotation.id}
</Box>
<Box my={1}>{i18n._(rotation.stage)}</Box>
<Box my={2} color={gray}>
{new Date(rotation.startTime).toLocaleDateString()}
</Box>

View File

@@ -202,6 +202,12 @@ const AddRecordModal = () => {
</FormErrorMessage>
</FormControl>
<button
type="submit"
disabled
style={{ display: "none" }}
aria-hidden="true"
/>
<Button mt={6} type="submit" isLoading={sending}>
<Trans>Submit</Trans>
</Button>