Skip to content

Commit

Permalink
[UPD] user media (out of current team)
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 2, 2024
1 parent 7830f57 commit c65615a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/page/medias/medias.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const list = new ListMedias(api, {
search: true,
check: true,
limit: true,
team: false,
target: mediasElt.querySelector('.result-medias')
});

Expand Down Expand Up @@ -86,6 +87,7 @@ ol_ext_element.create('BUTTON', {
html: '<i class="fa fa-plus-circle fa-fw"></i> Ajouter un média',
click: () => {
addMediaDialog({
team: false,
callback: (e) => {
mediaSize += e.item.size;
updateProgressBar(mediaSize, mediaSizeLimit);
Expand Down

0 comments on commit c65615a

Please sign in to comment.