mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
formatting fixed
This commit is contained in:
parent
3bad58ee1f
commit
25d4fe8ce3
2 changed files with 3 additions and 3 deletions
|
|
@ -138,7 +138,7 @@ export default function WebsiteExpandedView({
|
|||
const DetailsComponent = views[view] || (() => null);
|
||||
|
||||
const handleChange = (view?: any) => {
|
||||
router.push(renderUrl({ view },false,['subview']));
|
||||
router.push(renderUrl({ view }, false, ['subview']));
|
||||
};
|
||||
|
||||
const renderValue = (value: string) => items.find(({ key }) => key === value)?.label;
|
||||
|
|
@ -147,7 +147,7 @@ export default function WebsiteExpandedView({
|
|||
<div className={styles.layout}>
|
||||
<div className={styles.menu}>
|
||||
<LinkButton
|
||||
href={renderUrl({ view: undefined ,subview: undefined})}
|
||||
href={renderUrl({ view: undefined, subview: undefined })}
|
||||
className={styles.back}
|
||||
variant="quiet"
|
||||
scroll={false}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ export function PagesTable({ allowFilter, ...props }: PagesTableProps) {
|
|||
const {
|
||||
router,
|
||||
renderUrl,
|
||||
query: { subview="url" },
|
||||
query: { subview = "url" },
|
||||
} = useNavigation();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { domain } = useContext(WebsiteContext);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue