mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 11:26:24 +02:00
chore: ran frontend linting
This commit is contained in:
parent
1e97745903
commit
b53d095ab9
3 changed files with 5 additions and 6 deletions
|
|
@ -58,7 +58,10 @@ export const ConnectorStatusBadge: FC<ConnectorStatusBadgeProps> = ({
|
|||
const Icon = config.icon;
|
||||
// Show statusMessage in tooltip for warning, deprecated, disabled, and maintenance statuses
|
||||
const shouldUseTooltip =
|
||||
(status === "warning" || status === "deprecated" || status === "disabled" || status === "maintenance") &&
|
||||
(status === "warning" ||
|
||||
status === "deprecated" ||
|
||||
status === "disabled" ||
|
||||
status === "maintenance") &&
|
||||
statusMessage;
|
||||
const tooltipTitle = shouldUseTooltip ? statusMessage : config.defaultTitle;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue