Browse Source

Properly query files

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/18213/head
John Molakvoæ (skjnldsv) 6 years ago
parent
commit
46ce797197
No known key found for this signature in database GPG Key ID: 60C25B8C072916CF
  1. 3
      apps/files/appinfo/app.php
  2. 2
      apps/files/js/dist/sidebar.js.map
  3. 2
      apps/files/src/sidebar.js
  4. 2
      apps/files_sharing/js/dist/files_sharing_tab.js
  5. 2
      apps/files_sharing/js/dist/files_sharing_tab.js.map
  6. 12
      apps/files_sharing/src/files_sharing_tab.js

3
apps/files/appinfo/app.php

@ -26,6 +26,9 @@
*/
use OC\Search\Provider\File;
use OCA\Files\AppInfo\Application;
$app = \OC::$server->query(Application::class);
// required for translation purpose
// t('Files')

2
apps/files/js/dist/sidebar.js.map
File diff suppressed because it is too large
View File

2
apps/files/src/sidebar.js

@ -31,11 +31,11 @@ Vue.use(VueClipboard)
Vue.prototype.t = t
window.addEventListener('DOMContentLoaded', () => {
// Init Sidebar Service
if (!window.OCA.Files) {
window.OCA.Files = {}
}
Object.assign(window.OCA.Files, { Sidebar: new Sidebar() })
Object.assign(window.OCA.Files.Sidebar, { Tab })

2
apps/files_sharing/js/dist/files_sharing_tab.js

@ -1096,5 +1096,5 @@ var kt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new Typ
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
window.OCA&&window.OCA.Sharing&&Object.assign(window.OCA.Sharing,{ShareSearch:new wt}),window.OCA&&window.OCA.Sharing&&Object.assign(window.OCA.Sharing,{ExternalLinkActions:new Mt}),Object.assign(window.OCA.Sharing,{ShareTabSections:new kt}),window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab("sharing",gt))}))}]);
window.OCA.Sharing||(window.OCA.Sharing={}),Object.assign(window.OCA.Sharing,{ShareSearch:new wt}),Object.assign(window.OCA.Sharing,{ExternalLinkActions:new Mt}),Object.assign(window.OCA.Sharing,{ShareTabSections:new kt}),window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab("sharing",gt))}))}]);
//# sourceMappingURL=files_sharing_tab.js.map

2
apps/files_sharing/js/dist/files_sharing_tab.js.map
File diff suppressed because it is too large
View File

12
apps/files_sharing/src/files_sharing_tab.js

@ -26,14 +26,12 @@ import ExternalLinkActions from './services/ExternalLinkActions'
import TabSections from './services/TabSections'
if (window.OCA && window.OCA.Sharing) {
Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() })
// Init Sharing Tab Service
if (!window.OCA.Sharing) {
window.OCA.Sharing = {}
}
if (window.OCA && window.OCA.Sharing) {
Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() })
}
Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() })
Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() })
Object.assign(window.OCA.Sharing, { ShareTabSections: new TabSections() })
window.addEventListener('DOMContentLoaded', () => {

Loading…
Cancel
Save