Skip to content

Commit

Permalink
Cleanup page icon
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Dec 21, 2024
1 parent 39bfc75 commit ad26132
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extensions/owm/owm.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ define(['./owm.xml'], function(owmTemplate) {
}
});

addPageComponent(owmVue, 'fa-umbrella');
addPageComponent(owmVue, 'umbrella');

});
2 changes: 1 addition & 1 deletion extensions/users/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ define(['./users.xml'], function(loginTemplate) {
}
});

addPageComponent(userVue, 'fa-user');
addPageComponent(userVue, 'user');

});
2 changes: 1 addition & 1 deletion extensions/web-base/www/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,6 @@ function addPageComponent(vue, menuIcon) {
var component = vue.$mount();
document.getElementById('pages').appendChild(component.$el);
if (menuIcon) {
registerPageVue(vue, typeof menuIcon === 'string' ? menuIcon : undefined);
registerPageVue(vue, ((typeof menuIcon === 'string') && (menuIcon !== '')) ? 'fa-' + menuIcon : undefined);
}
}
2 changes: 1 addition & 1 deletion extensions/web-chart/web-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,6 @@ define(['./web-chart.xml'], function(pageXml) {
}
});

addPageComponent(vue, 'fa-chart-line');
addPageComponent(vue, 'chart-line');

});
2 changes: 1 addition & 1 deletion extensions/web-dashboard/web-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,6 @@ define(['./web-dashboard.xml'], function(dashboardTemplate) {
}
});

addPageComponent(dashboardVue, 'fa-columns');
addPageComponent(dashboardVue, 'columns');

});
2 changes: 1 addition & 1 deletion extensions/web-time/web-time.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ define(['./web-time.xml'], function(timeTemplate) {
}
});

addPageComponent(timeVue, 'fa-clock');
addPageComponent(timeVue, 'clock');

});
2 changes: 1 addition & 1 deletion extensions/web-tools/web-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ define(['./web-tools.xml'], function(toolsTemplate) {
});

if (app.canAdminister) {
addPageComponent(toolsVue, 'fa-tools');
addPageComponent(toolsVue, 'tools');
}

});

0 comments on commit ad26132

Please sign in to comment.