mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 14:05:44 +01:00
removed brace in string typed className-Prop
This commit is contained in:
@@ -25,7 +25,7 @@ class LinkPaginator extends React.Component<Props> {
|
||||
renderFirstButton() {
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-link"}
|
||||
className="pagination-link"
|
||||
label={"1"}
|
||||
disabled={false}
|
||||
link={this.addFilterToLink("1")}
|
||||
@@ -69,7 +69,7 @@ class LinkPaginator extends React.Component<Props> {
|
||||
const { collection } = this.props;
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-link"}
|
||||
className="pagination-link"
|
||||
label={`${collection.pageTotal}`}
|
||||
disabled={false}
|
||||
link={this.addFilterToLink(`${collection.pageTotal}`)}
|
||||
|
||||
@@ -17,7 +17,7 @@ class StatePaginator extends React.Component<Props> {
|
||||
renderFirstButton() {
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-link"}
|
||||
className="pagination-link"
|
||||
label={"1"}
|
||||
disabled={false}
|
||||
action={() => this.updateCurrentPage(1)}
|
||||
@@ -35,7 +35,7 @@ class StatePaginator extends React.Component<Props> {
|
||||
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-previous"}
|
||||
className="pagination-previous"
|
||||
label={label ? label : previousPage.toString()}
|
||||
disabled={!this.hasLink("prev")}
|
||||
action={() => this.updateCurrentPage(previousPage)}
|
||||
@@ -53,7 +53,7 @@ class StatePaginator extends React.Component<Props> {
|
||||
const nextPage = page + 1;
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-next"}
|
||||
className="pagination-next"
|
||||
label={label ? label : nextPage.toString()}
|
||||
disabled={!this.hasLink("next")}
|
||||
action={() => this.updateCurrentPage(nextPage)}
|
||||
@@ -65,7 +65,7 @@ class StatePaginator extends React.Component<Props> {
|
||||
const { collection } = this.props;
|
||||
return (
|
||||
<Button
|
||||
className={"pagination-link"}
|
||||
className="pagination-link"
|
||||
label={`${collection.pageTotal}`}
|
||||
disabled={false}
|
||||
action={() => this.updateCurrentPage(collection.pageTotal)}
|
||||
|
||||
@@ -110,7 +110,7 @@ class RepositoryEntry extends React.Component<Props> {
|
||||
<p className="is-marginless">
|
||||
<strong>{repository.name}</strong>
|
||||
</p>
|
||||
<p className={"shorten-text"}>{repository.description}</p>
|
||||
<p className="shorten-text">{repository.description}</p>
|
||||
</div>
|
||||
<nav className="level is-mobile">
|
||||
<div className="level-left">
|
||||
|
||||
Reference in New Issue
Block a user