forked from deblan/side_menu
Merge pull request 'v4.1.1' (#400) from develop into master
Reviewed-on: deblan/side_menu#400
This commit is contained in:
commit
cf9495de46
5 changed files with 13 additions and 3 deletions
|
|
@ -1,5 +1,10 @@
|
|||
## [Unreleased]
|
||||
|
||||
## 4.1.1
|
||||
### Fixed
|
||||
* fix(CssController): add missing NoCSRFRequired import (#397)
|
||||
* fix(SideMenu): ncApps must be an array (#369)
|
||||
|
||||
## 4.1.0
|
||||
### Added
|
||||
* add compatibility with NC31
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Notice
|
|||
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
|
||||
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
||||
]]></description>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
|
||||
<namespace>SideMenu</namespace>
|
||||
|
|
|
|||
|
|
@ -144,7 +144,11 @@ class Application extends App implements IBootstrap
|
|||
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
|
||||
|
||||
foreach ($assets as $value) {
|
||||
$route = \OC::$server->getURLGenerator()->linkToRoute($value['route'], ['v' => $cache]);
|
||||
$route = \OC::$server->getURLGenerator()->linkToRoute(
|
||||
$value['route'],
|
||||
['v' => $cache]
|
||||
);
|
||||
|
||||
$value['attr'][$value['route_attr']] = $route;
|
||||
|
||||
Util::addHeader($value['type'], $value['attr'], '');
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ use OCA\SideMenu\Service\ConfigProxy;
|
|||
use OCA\Theming\ThemingDefaults;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\Attribute\FrontpageRoute;
|
||||
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
|
||||
use OCP\AppFramework\Http\Attribute\PublicPage;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\IRequest;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
retrieveApps() {
|
||||
const ncApps = loadState('core', 'apps', {})
|
||||
const ncApps = loadState('core', 'apps', [])
|
||||
let orders = {}
|
||||
let finalApps = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue