Skip to content

Commit

Permalink
Fixed lint and failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa committed Feb 26, 2025
1 parent 6946c1a commit de2e315
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion testsuite/features/secondary/allcli_system_group.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Feature: Manage a group of systems
Given I am on the Systems overview page of this "sle_minion"
When I follow "Groups"
And I check "new-systems-group" in the list
And I click on "Leave Selected Groups"
And I click on "Leave Groups"
Then I should see a "1 system groups removed." text

# Red Hat-like minion is intentionally not removed from group
Expand Down
12 changes: 9 additions & 3 deletions web/html/src/manager/systems/bootstrap/bootstrap-minions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ class BootstrapMinions extends React.Component<Props, State> {
var errMessage =
xhr.status === 0
? t(
"Request interrupted or invalid response received from the server. Please check if your minion was bootstrapped correctly."
)
"Request interrupted or invalid response received from the server. Please check if your minion was bootstrapped correctly."
)
: Network.errorMessageByStatus(xhr.status);
this.setState({
success: false,
Expand Down Expand Up @@ -399,7 +399,13 @@ class BootstrapMinions extends React.Component<Props, State> {
disabled={this.state.privKeyLoading}
action={this.onBootstrap}
/>,
<AsyncButton id="clear-btn" key="clear-btn" defaultType="btn-default" text={t("Clear fields")} action={this.clearFields} />,
<AsyncButton
id="clear-btn"
key="clear-btn"
defaultType="btn-default"
text={t("Clear fields")}
action={this.clearFields}
/>,
];

const productName = window._IS_UYUNI ? "Uyuni" : "SUSE Manager";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class VirtualHostManagerEdit extends React.Component<Props, State> {
buttons.unshift(
<SubmitButton
id="update-btn"
key="update-btn"
className="btn-primary me-4"
icon="fa-edit"
text={t("Update")}
Expand All @@ -204,6 +205,7 @@ class VirtualHostManagerEdit extends React.Component<Props, State> {
buttons.unshift(
<SubmitButton
id="create-btn"
key="create-btn"
className="btn-primary me-4"
icon="fa-plus"
text={t("Create")}
Expand Down

0 comments on commit de2e315

Please sign in to comment.