Skip to content

Commit

Permalink
Fixed lint and added changelog files
Browse files Browse the repository at this point in the history
  • Loading branch information
bisht-richa committed Oct 16, 2024
1 parent 9822148 commit 15eae86
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Deprecating the classes btn-success, btn-info, and btn-warning.
- Removed the btn-link class from some pages.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ class MatcherScheduleButton extends React.Component<MatcherScheduleButtonProps>
};

render() {
const buttonClass =
"btn spacewalk-btn-margin-vertical btn-default";
const buttonClass = "btn spacewalk-btn-margin-vertical btn-default";

return (
<button type="button" className={buttonClass} disabled={this.props.matcherRunning} onClick={this.onClick}>
Expand Down
2 changes: 1 addition & 1 deletion web/html/src/manager/images/image-profiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class ImageProfiles extends React.Component<Props, State> {
render() {
const panelButtons = (
<div className="pull-right btn-group">
{window.isAdmin && this.state.selectedItems.length > 0 && (
{window.isAdmin && this.state.selectedItems.length > 0 && (
<ModalButton
id="delete-selected"
icon="fa-trash"
Expand Down
2 changes: 1 addition & 1 deletion web/html/src/manager/systems/all-list.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as React from "react";

import { LinkButton } from "components/buttons";
import { IconTag } from "components/icontag";
import * as Systems from "components/systems";
import { Column } from "components/table/Column";
import { Table } from "components/table/Table";
import { LinkButton } from "components/buttons";

import { Utils } from "utils/functions";
import Network from "utils/network";
Expand Down
2 changes: 2 additions & 0 deletions web/spacewalk-web.changes.bisht-richa.ux-ui-buttons-component
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Deprecating the classes btn-success, btn-info, and btn-warning.
- Removed the btn-link class from some pages.

0 comments on commit 15eae86

Please sign in to comment.