Skip to content

Commit

Permalink
Merge pull request #642 from nextcloud/artonge/debt/use_appname_that_…
Browse files Browse the repository at this point in the history
…reflect_app_path
  • Loading branch information
Pytal authored Aug 18, 2023
2 parents 6ef22d3 + 8efd064 commit e23482d
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
1 change: 0 additions & 1 deletion js/files_recommendation-dashboard.js.map

This file was deleted.

1 change: 0 additions & 1 deletion js/files_recommendation-main.js.map

This file was deleted.

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions js/recommendations-dashboard.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions js/recommendations-main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Dashboard/RecommendationWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function load(): void {
if ($user === null) {
return;
}
Util::addScript(Application::APP_ID, 'files_recommendation-dashboard');
Util::addScript(Application::APP_ID, 'recommendations-dashboard');
}

public function getItems(string $userId, ?string $since = null, int $limit = 7): array {
Expand Down
2 changes: 1 addition & 1 deletion lib/Listeners/FilesLoadAdditionalScriptsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function handle(Event $event): void {
return;
}

Util::addScript(Application::APP_ID, 'files_recommendation-main');
Util::addScript(Application::APP_ID, 'recommendations-main');
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "files_recommendation",
"name": "recommendations",
"description": "Shows recommended files in Nextcloud",
"private": true,
"scripts": {
Expand Down Expand Up @@ -46,4 +46,4 @@
"browserslist": [
"extends @nextcloud/browserslist-config"
]
}
}
3 changes: 2 additions & 1 deletion src/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

import Vue from 'vue'

import Nextcloud from './mixins/Nextcloud'
import Nextcloud from './mixins/Nextcloud.js'

import Dashboard from './components/Dashboard'
import store from './store/store'

Expand Down

0 comments on commit e23482d

Please sign in to comment.