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