mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
Update UI Packages
Align with Lidarr
This commit is contained in:
@@ -38,7 +38,7 @@ class Naming extends Component {
|
||||
additional: true
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
onAuthorFolderNamingModalOpenClick = () => {
|
||||
this.setState({
|
||||
@@ -47,11 +47,11 @@ class Naming extends Component {
|
||||
name: 'authorFolderFormat'
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
onNamingModalClose = () => {
|
||||
this.setState({ isNamingModalOpen: false });
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -58,7 +58,7 @@ class NamingConnector extends Component {
|
||||
|
||||
_fetchNamingExamples = () => {
|
||||
this.props.fetchNamingExamples();
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Listeners
|
||||
@@ -71,7 +71,7 @@ class NamingConnector extends Component {
|
||||
}
|
||||
|
||||
this._namingExampleTimeout = setTimeout(this._fetchNamingExamples, 1000);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -144,16 +144,16 @@ class NamingModal extends Component {
|
||||
|
||||
onTokenSeparatorChange = (event) => {
|
||||
this.setState({ separator: event.value });
|
||||
}
|
||||
};
|
||||
|
||||
onTokenCaseChange = (event) => {
|
||||
this.setState({ case: event.value });
|
||||
}
|
||||
};
|
||||
|
||||
onInputSelectionChange = (selectionStart, selectionEnd) => {
|
||||
this._selectionStart = selectionStart;
|
||||
this._selectionEnd = selectionEnd;
|
||||
}
|
||||
};
|
||||
|
||||
onOptionPress = ({ isFullFilename, tokenValue }) => {
|
||||
const {
|
||||
@@ -181,7 +181,7 @@ class NamingModal extends Component {
|
||||
this._selectionStart = newValue.length - 1;
|
||||
this._selectionEnd = newValue.length - 1;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -30,7 +30,7 @@ class NamingOption extends Component {
|
||||
}
|
||||
|
||||
onPress({ isFullFilename, tokenValue });
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
Reference in New Issue
Block a user