mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 10:32:44 +08:00
fix(package-manager): available core updates cause an error in the dashboard
Fixes #3776 Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
e8c867dcac
commit
fab71f2d01
|
@ -226,7 +226,7 @@ export default class ControlSectionState {
|
|||
version: app.data.settings.version,
|
||||
icon: {
|
||||
// @ts-ignore
|
||||
backgroundImage: `url(${app.forum.attribute('baseUrl')}/assets/extensions/flarum-package-manager/flarum.svg`,
|
||||
backgroundImage: `url(${app.data.resources[0]['attributes']['baseUrl']}/assets/extensions/flarum-package-manager/flarum.svg`,
|
||||
},
|
||||
extra: {
|
||||
'flarum-extension': {
|
||||
|
|
Loading…
Reference in New Issue
Block a user