Skip to content

Commit

Permalink
Open video editor in a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Aug 8, 2022
1 parent 6bad9cc commit f1dce75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/routes/manage/Video/Single.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useTranslation } from "react-i18next";
import { FiArrowLeft } from "react-icons/fi";
import { FiArrowLeft, FiExternalLink } from "react-icons/fi";
import { graphql } from "react-relay";

import { RootLoader } from "../../../layout/Root";
Expand Down Expand Up @@ -134,8 +134,8 @@ const ManageSingleVideo: React.FC<Props> = ({ event }) => {
<ThumbnailDateInfo event={event} />
<div css={{ margin: "8px 2px", flex: "1 0 auto" }}>
{user.canUseEditor && event.canWrite && (
<LinkButton to={editorUrl} css={{ marginBottom: 16 }}>
{t("manage.my-videos.open-in-editor")}
<LinkButton to={editorUrl} css={{ marginBottom: 16 }} target="_blank">
{t("manage.my-videos.open-in-editor")} <FiExternalLink size={16} />
</LinkButton>
)}
<DirectLink event={event} />
Expand Down

0 comments on commit f1dce75

Please sign in to comment.