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