From bb8975e93ae45a9c2e1e893b2f681d6295b8257a Mon Sep 17 00:00:00 2001 From: Ajay Date: Sat, 24 Sep 2022 21:17:57 -0400 Subject: [PATCH] Swap preview and inspect --- src/components/SponsorTimeEditComponent.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 2877a515..1c6478de 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -266,6 +266,14 @@ class SponsorTimeEditComponent extends React.Component + {(!isNaN(segment[1]) && sponsorTime.actionType != ActionType.Full) ? ( + + {chrome.i18n.getMessage("inspect")} + + ): ""} + {(!isNaN(segment[1]) && ![ActionType.Poi, ActionType.Full].includes(sponsorTime.actionType)) ? ( ): ""} - {(!isNaN(segment[1]) && sponsorTime.actionType != ActionType.Full) ? ( - - {chrome.i18n.getMessage("inspect")} - - ): ""} - {(!isNaN(segment[1]) && sponsorTime.actionType != ActionType.Full) ? (