Ver código fonte

Fix undefined error on add-share

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
tags/v22.0.0beta1
John Molakvoæ (skjnldsv) 3 anos atrás
pai
commit
4b9991a4f2

+ 1
- 1
apps/files_sharing/js/dist/files_sharing_tab.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 1
- 1
apps/files_sharing/js/dist/files_sharing_tab.js.map
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 2
- 2
apps/files_sharing/src/views/SharingTab.vue Ver arquivo

@@ -301,9 +301,9 @@ export default {
* and return the newly created share component
*
* @param {Share} share the share to add to the array
* @param {Function} resolve a function to run after the share is added and its component initialized
* @param {Function} [resolve] a function to run after the share is added and its component initialized
*/
addShare(share, resolve) {
addShare(share, resolve = () => {}) {
// only catching share type MAIL as link shares are added differently
// meaning: not from the ShareInput
if (share.type === this.SHARE_TYPES.SHARE_TYPE_EMAIL) {

Carregando…
Cancelar
Salvar