Matthew Alexandros
06/23/2024, 12:02 AM(function () {
'use strict';
function loader(eventsService)
{
eventsService.on('app.ready', function ()
{
window.localStorage.plausible_ignore == "true";
insertLogo();
});
function insertLogo() {
var header = angular.element(document)
.find('.umb-app-header');
if (header != null && header.length == 1)
{
var item = document.createElement('img');
item.src = '/App_Plugins/GameInfoSites/GameInfoSitesLogo.png';
item.style.paddingRight = '15px';
header[0].prepend(item);
}
}
}
angular.module('umbraco').run(loader);
})();
And here is my package.manifest conifg:
{
"name": "GameInfoSites",
"version": "1.0.0",
"allowPackageTelemetry": true,
"bundleOptions": "Default",
"javascript": [
"/App_Plugins/GameInfoSites/BackOffice.js"
]
}
Can anyone see what I might be doing wrong?D_Inventor
06/23/2024, 6:11 AMD_Inventor
06/23/2024, 6:12 AMloader.$inject = ['eventsService']
Matthew Alexandros
06/23/2024, 7:16 AMAnders Bjerner
06/23/2024, 10:49 AMdotnet publish
or DevOps to push changes to your live site, you might have to do something extra to ensure your assets are also included when creating a release for the live site.Matthew Alexandros
06/23/2024, 11:14 AM