From 57848d9e8cdb110d5c32ea824783c40a9b2e6ac9 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 15 Dec 2022 12:08:40 +0100 Subject: [PATCH] show filename in tooltip if file is a .sol file --- libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index 73de0d8e15..4f9bedebe4 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -941,7 +941,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { placement="auto" tooltipId="overlay-tooltip-compile" tooltipText={
- {!(configFilePath === '' && state.useFileConfiguration) &&
Ctrl+S to compile {state.compiledFileName}
} + {!(configFilePath === '' && state.useFileConfiguration) &&
Ctrl+S to compile {state.compiledFileName.includes('.sol') ? state.compiledFileName : null}
} {(configFilePath === '' && state.useFileConfiguration) &&
No config file selected
}
} >