Skip to content
Snippets Groups Projects
Commit de20094d authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Merge branch 'develop' of github.com:RocketChat/Rocket.Chat into develop

parents 5aff61ce a530b1a0
No related branches found
No related tags found
No related merge requests found
RocketChat.Migrations.add({
version: 37,
up: function() {
if (RocketChat && RocketChat.models && RocketChat.models.Settings) {
var footer = RocketChat.models.Settings.findOne('Layout_Sidenav_Footer');
// Replace footer octicons with icons
if (footer !== '') {
footer = footer.replace('octicon octicon-pencil', 'icon-pencil');
footer = footer.replace('octicon octicon-heart', 'icon-heart');
footer = footer.replace('octicon octicon-mark-github', 'icon-github-circled');
RocketChat.models.Settings.update({ _id: 'Layout_Sidenav_Footer' }, { $set: { value: footer, packageValue: footer } });
}
}
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment