fix: removes error count form widget name component (#24653)
Removes the error count form the widget name
This commit is contained in:
parent
82f1624f59
commit
b48e339212
|
|
@ -17,8 +17,6 @@ describe("Widget error state", function () {
|
|||
|
||||
cy.testJsontext("visible", "Test");
|
||||
|
||||
cy.contains(".t--widget-error-count", 1);
|
||||
|
||||
//Check if the current value is shown in the debugger
|
||||
|
||||
_.debuggerHelper.ClickDebuggerIcon();
|
||||
|
|
|
|||
|
|
@ -131,12 +131,7 @@ export function SettingsControl(props: SettingsControlProps) {
|
|||
style={getStyles(props.activity, props.errorCount, isSnipingMode)}
|
||||
widgetWidth={props.widgetWidth}
|
||||
>
|
||||
{!!props.errorCount && !isSnipingMode && (
|
||||
<>
|
||||
{errorIcon}
|
||||
<span className="t--widget-error-count">{props.errorCount}</span>
|
||||
</>
|
||||
)}
|
||||
{!!props.errorCount && !isSnipingMode && errorIcon}
|
||||
{isSnipingMode && (
|
||||
<Icon
|
||||
color="var(--ads-v2-color-white)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user