diff --git a/frontend/src/components/dialog/list-taggedfiles-dialog.js b/frontend/src/components/dialog/list-taggedfiles-dialog.js index 8e86845418..07f11b5cce 100644 --- a/frontend/src/components/dialog/list-taggedfiles-dialog.js +++ b/frontend/src/components/dialog/list-taggedfiles-dialog.js @@ -61,12 +61,7 @@ class ListTaggedFilesDialog extends React.Component {
{taggedFileList.map((taggedFile, index) => { let path = Utils.joinPath(taggedFile.parent_path, taggedFile.filename); - let href = ''; - if (Utils.isMarkdownFile(path)) { - href = siteRoot + 'wiki/lib/' + this.props.repoID + Utils.encodePath(path); - } else { - href = siteRoot + 'lib/' + this.props.repoID + '/file' + Utils.encodePath(path); - } + let href = siteRoot + 'lib/' + this.props.repoID + '/file' + Utils.encodePath(path); return (