Remove fixed TODOs

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2023-10-07 14:00:20 +02:00 committed by David Mehren
parent 04d16a1141
commit 040d473b62
4 changed files with 0 additions and 6 deletions

View file

@ -19,8 +19,6 @@ import { Trans } from 'react-i18next'
*/ */
export const DocumentInfobar: React.FC = () => { export const DocumentInfobar: React.FC = () => {
const noteDetails = useApplicationState((state) => state.noteDetails) const noteDetails = useApplicationState((state) => state.noteDetails)
// TODO Check permissions ("writability") of note and show edit link depending on that.
const linkTitle = useTranslatedText('views.readOnly.editNote') const linkTitle = useTranslatedText('views.readOnly.editNote')
if (noteDetails === null) { if (noteDetails === null) {

View file

@ -18,8 +18,6 @@ export const DocumentReadOnlyPageContent: React.FC = () => {
useTranslation() useTranslation()
const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter() const markdownContentLines = useTrimmedNoteMarkdownContentWithoutFrontmatter()
// TODO Change todo values with real ones as soon as the backend is ready.
return ( return (
<Fragment> <Fragment>
<DocumentInfobar /> <DocumentInfobar />

View file

@ -40,7 +40,6 @@ export const ExportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
const onClickHandler = useCallback(() => { const onClickHandler = useCallback(() => {
onClick(menuId) onClick(menuId)
}, [menuId, onClick]) }, [menuId, onClick])
//todo: replace git with gitlab icon
return ( return (
<Fragment> <Fragment>
<SidebarButton <SidebarButton

View file

@ -40,7 +40,6 @@ export const ImportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
const onClickHandler = useCallback(() => { const onClickHandler = useCallback(() => {
onClick(menuId) onClick(menuId)
}, [menuId, onClick]) }, [menuId, onClick])
//todo: replace git with gitlab
return ( return (
<Fragment> <Fragment>
<SidebarButton <SidebarButton