Merge pull request #21257 from nextcloud/td/js/systemtags_linter
Fix linting on systemtags and use @nextcloud/router
This commit is contained in:
commit
00fa50a1dc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { generateRemoteUrl } from '@nextcloud/router'
|
||||
|
||||
(function(OC) {
|
||||
/**
|
||||
* @class OC.SystemTags.SystemTagsMappingCollection
|
||||
|
@ -43,7 +45,7 @@
|
|||
model: OC.SystemTags.SystemTagModel,
|
||||
|
||||
url: function() {
|
||||
return OC.linkToRemote('dav') + '/systemtags-relations/' + this._objectType + '/' + this._objectId
|
||||
return generateRemoteUrl('dav') + '/systemtags-relations/' + this._objectType + '/' + this._objectId
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue