kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(front): manage uploads in show in profile and work now
rodzic
f75cbf5884
commit
2d58ab590c
|
@ -121,7 +121,7 @@ const globalPrivacyLevel = computed<PrivacyLevel | undefined>({
|
|||
|
||||
for (const [index, item] of items.value.entries()) {
|
||||
if (!item.selected || item.privacy_level === level)
|
||||
break;
|
||||
continue;
|
||||
|
||||
changes.push({
|
||||
uuid: item.uuid,
|
||||
|
@ -135,7 +135,7 @@ const globalPrivacyLevel = computed<PrivacyLevel | undefined>({
|
|||
// privacy_level as undefined is only a workaround for items in legacy libraries.
|
||||
axios.patch<paths['/api/v2/uploads/bulk_update/']['patch']['responses']['200']['content']['application/json']>(
|
||||
'uploads/bulk_update/',
|
||||
{ params: changes }
|
||||
changes
|
||||
)
|
||||
}
|
||||
})
|
||||
|
|
|
@ -94,7 +94,7 @@ const tabs = ref([{
|
|||
title: t('views.auth.ProfileBase.link.activity') ,
|
||||
to: { name: 'profile.activity', params: routerParams }
|
||||
}, ...(
|
||||
store.state.auth.authenticated && object.value?.full_username === store.state.auth.fullUsername
|
||||
store.state.auth.authenticated && fullUsername.value === store.state.auth.fullUsername
|
||||
? [{
|
||||
title: t('views.auth.ProfileBase.link.manageUploads') ,
|
||||
to: { name: 'profile.manageUploads', params: routerParams }
|
||||
|
|
Ładowanie…
Reference in New Issue