1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix alpha channel in alpha versions

This commit is contained in:
Andrew Simachev 2024-01-18 11:46:44 +01:00
parent 719010f650
commit 5a208f81c4
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -79,7 +79,7 @@ class ConfigManager {
let channels = ChannelSettings.map((it) => {
return { id: it.id, label: Util.translate(it.lang), type: 'radio', checked: (this.config.channel == it.id) };
});
if (!this.config.sudo) {
if (!this.config.sudo && !version.match('alpha')) {
channels = channels.filter(it => it.id != 'alpha');
};
return channels;