mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-17 20:42:25 +03:00
Fix formatting
This commit is contained in:
parent
ad6c86d78a
commit
ebc7964157
@ -35,8 +35,8 @@ const App = () => (
|
||||
customReducers: {
|
||||
queue: playQueueReducer,
|
||||
albumView: albumViewReducer,
|
||||
theme: themeReducer
|
||||
}
|
||||
theme: themeReducer,
|
||||
},
|
||||
})}
|
||||
>
|
||||
<Admin
|
||||
@ -70,7 +70,7 @@ const App = () => (
|
||||
) : (
|
||||
<Resource name="transcoding" />
|
||||
),
|
||||
<Player />
|
||||
<Player />,
|
||||
]}
|
||||
</Admin>
|
||||
</Provider>
|
||||
|
@ -12,7 +12,7 @@ const authProvider = {
|
||||
const request = new Request(url, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ username, password }),
|
||||
headers: new Headers({ 'Content-Type': 'application/json' })
|
||||
headers: new Headers({ 'Content-Type': 'application/json' }),
|
||||
})
|
||||
return fetch(request)
|
||||
.then((response) => {
|
||||
@ -69,7 +69,7 @@ const authProvider = {
|
||||
getPermissions: () => {
|
||||
const role = localStorage.getItem('role')
|
||||
return role ? Promise.resolve(role) : Promise.reject()
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
const removeItems = () => {
|
||||
|
@ -2,7 +2,7 @@ const defaultConfig = {
|
||||
version: 'dev',
|
||||
firstTime: false,
|
||||
baseURL: '',
|
||||
loginBackgroundURL: 'https://source.unsplash.com/random/1600x900?music'
|
||||
loginBackgroundURL: 'https://source.unsplash.com/random/1600x900?music',
|
||||
}
|
||||
|
||||
let config
|
||||
@ -12,7 +12,7 @@ try {
|
||||
|
||||
config = {
|
||||
...defaultConfig,
|
||||
...appConfig
|
||||
...appConfig,
|
||||
}
|
||||
} catch (e) {
|
||||
config = defaultConfig
|
||||
|
@ -53,7 +53,7 @@ export default deepmerge(frenchMessages, {
|
||||
user: {
|
||||
name: 'Utilisateur |||| Utilisateurs',
|
||||
fields: {
|
||||
userName: 'Nom d\'utilisateur',
|
||||
userName: "Nom d'utilisateur",
|
||||
isAdmin: 'Administrateur',
|
||||
lastLoginAt: 'Dernière connexion',
|
||||
updatedAt: 'Dernière mise à jour',
|
||||
@ -67,7 +67,7 @@ export default deepmerge(frenchMessages, {
|
||||
transcodingId: 'Transcodage',
|
||||
maxBitRate: 'Bitrate maximum',
|
||||
client: 'Client',
|
||||
userName: 'Nom d\'utilisateur',
|
||||
userName: "Nom d'utilisateur",
|
||||
lastSeen: 'Vu pour la dernière fois',
|
||||
},
|
||||
},
|
||||
|
@ -101,7 +101,7 @@ function registerValidSW(swUrl, config) {
|
||||
function checkValidServiceWorker(swUrl, config) {
|
||||
// Check if the service worker can be found. If it can't reload the page.
|
||||
fetch(swUrl, {
|
||||
headers: { 'Service-Worker': 'script' }
|
||||
headers: { 'Service-Worker': 'script' },
|
||||
})
|
||||
.then((response) => {
|
||||
// Ensure service worker exists, and that we really are getting a JS file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user