Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to correct folder id + UI fixes #53

Merged
merged 4 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/components/AppLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,15 @@ const AppLayout = () => {
<NavLink>
<NavIcon icon={FolderIcon} />
<NavText>{t('Sidebar.documents')}</NavText>
<Icon
icon={OpenappIcon}
style={{
marginLeft: 'auto',
marginRight: 8
}}
/>
{!isMobile && (
<Icon
icon={OpenappIcon}
style={{
marginLeft: 'auto',
marginRight: 8
}}
/>
)}
</NavLink>
</NavItem>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Atoms/TabTitle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const TabTitle = ({ children }) => {
height: 68,
minHeight: 68
}}
className="u-p-1 u-w-100 u-flex u-flex-row u-flex-items-center u-flex-justify-between"
className="u-p-1 u-flex u-flex-row u-flex-items-center u-flex-justify-between"
>
{!isMobile && <AccountSwitcher />}

Expand Down
1 change: 1 addition & 0 deletions src/components/Atoms/Timetable/CozyDatePickerInline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
if (onDateChange) {
onDateChange(date)
}
}, [date])

Check warning on line 35 in src/components/Atoms/Timetable/CozyDatePickerInline.jsx

View workflow job for this annotation

GitHub Actions / Build and publish

React Hook useEffect has a missing dependency: 'onDateChange'. Either include it or remove the dependency array. If 'onDateChange' changes too often, find the parent component that defines it and wrap that definition in useCallback

const daySelectRef = React.useRef(null)
const monthSelectRef = React.useRef(null)
Expand Down Expand Up @@ -168,6 +168,7 @@
height: '100%',
paddingLeft: 16
}}
noWrap
>
{getStartWeek(date)} - {getEndWeek(date)}
</DropdownButton>
Expand Down
Loading