Procházet zdrojové kódy

fix(debug): remove debug log in _formatRemoteShare, suggested by @maxbes

Signed-off-by: Samuel <faust64@gmail.com>
tags/v22.0.0beta1
Samuel před 3 roky
rodič
revize
73338a061b
1 změnil soubory, kde provedl 5 přidání a 6 odebrání
  1. 5
    6
      apps/files_sharing/src/share.js

+ 5
- 6
apps/files_sharing/src/share.js Zobrazit soubor

@@ -348,14 +348,13 @@ import escapeHTML from 'escape-html'
/**
* Format a remote address
*
* @param {String} shareWith userid, full remote share, or whatever
* @param {String} shareWithDisplayName
* @param {String} message
* @returns {String} HTML code to display
*/
* @param {String} shareWith userid, full remote share, or whatever
* @param {String} shareWithDisplayName
* @param {String} message
* @returns {String} HTML code to display
*/
_formatRemoteShare: function(shareWith, shareWithDisplayName, message) {
var parts = OCA.Sharing.Util._REMOTE_OWNER_REGEXP.exec(shareWith)
console.error(parts);
if (!parts || !parts[7]) {
// display avatar of the user
var avatar = '<span class="avatar" data-username="' + escapeHTML(shareWith) + '" title="' + message + ' ' + escapeHTML(shareWithDisplayName) + '"></span>'

Načítá se…
Zrušit
Uložit