mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Removed onBackdropClick deprecated property
This commit is contained in:
parent
a3d78e95f2
commit
f9b060af18
9 changed files with 3 additions and 18 deletions
|
@ -58,7 +58,7 @@
|
||||||
"update-workbox": "bin/update-workbox.sh"
|
"update-workbox": "bin/update-workbox.sh"
|
||||||
},
|
},
|
||||||
"homepage": ".",
|
"homepage": ".",
|
||||||
"proxy": "http://localhost:4633/",
|
"proxy": "http://127.0.0.1:4633/",
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
"react-app",
|
"react-app",
|
||||||
|
|
|
@ -52,12 +52,7 @@ const LinkToVersion = ({ version }) => {
|
||||||
const AboutDialog = ({ open, onClose }) => {
|
const AboutDialog = ({ open, onClose }) => {
|
||||||
const translate = useTranslate()
|
const translate = useTranslate()
|
||||||
return (
|
return (
|
||||||
<Dialog
|
<Dialog onClose={onClose} aria-labelledby="about-dialog-title" open={open}>
|
||||||
onClose={onClose}
|
|
||||||
onBackdropClick={onClose}
|
|
||||||
aria-labelledby="about-dialog-title"
|
|
||||||
open={open}
|
|
||||||
>
|
|
||||||
<DialogTitle id="about-dialog-title" onClose={onClose}>
|
<DialogTitle id="about-dialog-title" onClose={onClose}>
|
||||||
Navidrome Music Server
|
Navidrome Music Server
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
|
|
|
@ -139,7 +139,6 @@ export const AddToPlaylistDialog = () => {
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClickClose}
|
onClose={handleClickClose}
|
||||||
onBackdropClick={handleClickClose}
|
|
||||||
aria-labelledby="form-dialog-new-playlist"
|
aria-labelledby="form-dialog-new-playlist"
|
||||||
fullWidth={true}
|
fullWidth={true}
|
||||||
maxWidth={'sm'}
|
maxWidth={'sm'}
|
||||||
|
|
|
@ -44,7 +44,6 @@ const DownloadMenuDialog = () => {
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
onBackdropClick={handleClose}
|
|
||||||
aria-labelledby="download-dialog"
|
aria-labelledby="download-dialog"
|
||||||
fullWidth={true}
|
fullWidth={true}
|
||||||
maxWidth={'sm'}
|
maxWidth={'sm'}
|
||||||
|
|
|
@ -21,7 +21,6 @@ const DuplicateSongDialog = ({
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClickClose}
|
onClose={handleClickClose}
|
||||||
onBackdropClick={handleClickClose}
|
|
||||||
aria-labelledby="form-dialog-duplicate-song"
|
aria-labelledby="form-dialog-duplicate-song"
|
||||||
>
|
>
|
||||||
<DialogTitle id="form-dialog-duplicate-song">
|
<DialogTitle id="form-dialog-duplicate-song">
|
||||||
|
|
|
@ -25,7 +25,6 @@ const ExpandInfoDialog = ({ title, content }) => {
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
onBackdropClick={handleClose}
|
|
||||||
aria-labelledby="info-dialog-album"
|
aria-labelledby="info-dialog-album"
|
||||||
fullWidth={true}
|
fullWidth={true}
|
||||||
maxWidth={'sm'}
|
maxWidth={'sm'}
|
||||||
|
|
|
@ -73,11 +73,7 @@ export const HelpDialog = (props) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<GlobalHotKeys keyMap={keyMap} handlers={handlers} allowChanges />
|
<GlobalHotKeys keyMap={keyMap} handlers={handlers} allowChanges />
|
||||||
<HelpTable
|
<HelpTable open={open} onClose={handleClickClose} />
|
||||||
open={open}
|
|
||||||
onClose={handleClickClose}
|
|
||||||
onBackdropClick={handleClickClose}
|
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,7 +82,6 @@ export const ListenBrainzTokenDialog = ({ setLinked }) => {
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClickClose}
|
onClose={handleClickClose}
|
||||||
onBackdropClick={handleClickClose}
|
|
||||||
aria-labelledby="form-dialog-listenbrainz-token"
|
aria-labelledby="form-dialog-listenbrainz-token"
|
||||||
fullWidth={true}
|
fullWidth={true}
|
||||||
maxWidth="md"
|
maxWidth="md"
|
||||||
|
|
|
@ -93,7 +93,6 @@ export const ShareDialog = () => {
|
||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
onBackdropClick={handleClose}
|
|
||||||
aria-labelledby="share-dialog"
|
aria-labelledby="share-dialog"
|
||||||
fullWidth={true}
|
fullWidth={true}
|
||||||
maxWidth={'sm'}
|
maxWidth={'sm'}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue