The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/server/startup/migrations/v151.js

14 lines
467 B

import { Migrations } from '../../../app/migrations';
import { Settings } from '../../../app/models';
Migrations.add({
version: 151,
up() {
const setting = Settings.findOne({ _id: 'Layout_Sidenav_Footer' });
if (setting && setting.value) {
if (setting.value === '<a href="/home"><img src="assets/logo"/></a>') {
Settings.update({ _id: 'Layout_Sidenav_Footer' }, { $set: { value: '<a href="/home"><img src="assets/logo.png"/></a>' } });
}
}
},
});