mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 07:42:49 +00:00
parent
ef0590728f
commit
9d056006cc
1 changed files with 7 additions and 2 deletions
|
@ -42,8 +42,11 @@ class LogsTableRow extends Component {
|
||||||
// Listeners
|
// Listeners
|
||||||
|
|
||||||
onPress = () => {
|
onPress = () => {
|
||||||
|
// Don't re-open the modal if it's already open
|
||||||
|
if (!this.state.isDetailsModalOpen) {
|
||||||
this.setState({ isDetailsModalOpen: true });
|
this.setState({ isDetailsModalOpen: true });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onModalClose = () => {
|
onModalClose = () => {
|
||||||
this.setState({ isDetailsModalOpen: false });
|
this.setState({ isDetailsModalOpen: false });
|
||||||
|
@ -63,7 +66,9 @@ class LogsTableRow extends Component {
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TableRowButton onPress={this.onPress}>
|
<TableRowButton
|
||||||
|
onPress={this.onPress}
|
||||||
|
>
|
||||||
{
|
{
|
||||||
columns.map((column) => {
|
columns.map((column) => {
|
||||||
const {
|
const {
|
||||||
|
|
Loading…
Reference in a new issue