mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-18 03:00:56 +01:00
Fixed wrongly displayed update bar from plugins/themes details page
This commit is contained in:
@@ -126,7 +126,10 @@ export default class Updates {
|
||||
<strong>v${resources[item].available}</strong> ${releaseType} ${translations.PLUGIN_ADMIN.OF_THIS} ${singles[index]} ${translations.PLUGIN_ADMIN.IS_NOW_AVAILABLE}!
|
||||
<a href="#" class="button button-small secondary" data-remodal-target="update-packages" data-packages-slugs="${item}" data-${singles[index]}-action="start-package-installation">${translations.PLUGIN_ADMIN.UPDATE} ${singles[index].charAt(0).toUpperCase() + singles[index].substr(1).toLowerCase()}</a>
|
||||
</p>
|
||||
`).css('display', 'block');
|
||||
`);
|
||||
|
||||
// display update bar for themes/plugins details
|
||||
$(`[data-gpm-${singles[index]}="${item}"]`).css('display', 'block');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
10
themes/grav/js/admin.min.js
vendored
10
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user