mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
This commit is contained in:
parent
38b5987b40
commit
f7527c3279
1 changed files with 4 additions and 4 deletions
|
|
@ -729,8 +729,8 @@ export default {
|
|||
beforeMount() {
|
||||
this.initializePermissions()
|
||||
this.initializeAttributes()
|
||||
console.debug('shareSentIn', this.share)
|
||||
console.debug('config', this.config)
|
||||
logger.debug('Share object received', { share: this.share })
|
||||
logger.debug('Configuration object received', { config: this.config })
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
|
@ -918,7 +918,7 @@ export default {
|
|||
* @param {Share} share incoming share object
|
||||
*/
|
||||
async addShare(share) {
|
||||
console.debug('Adding a new share from the input for', share)
|
||||
logger.debug('Adding a new share from the input for', { share })
|
||||
const path = this.path
|
||||
try {
|
||||
const resultingShare = await this.createShare({
|
||||
|
|
@ -933,7 +933,7 @@ export default {
|
|||
})
|
||||
return resultingShare
|
||||
} catch (error) {
|
||||
console.error('Error while adding new share', error)
|
||||
logger.error('Error while adding new share', { error })
|
||||
} finally {
|
||||
// this.loading = false // No loader here yet
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue