This commit is contained in:
Global Server 2022-01-01 12:41:17 +01:00
parent e323d3fb32
commit 4734ce0f1f
4 changed files with 5 additions and 8 deletions

View File

@ -109,7 +109,7 @@ class InputField {
options.showLengthOn = Math.min(40, Math.round(options.maxLength / 3));
}
const {placeholder, maxLength, showLengthOn, name, plainText, canBeEdited} = options;
const {placeholder, maxLength, showLengthOn, name, plainText, canBeEdited = true} = options;
let label = options.label || options.labelText;

View File

@ -42,7 +42,6 @@ import { closeBtnMenu } from "../misc";
import { indexOfAndSplice } from "../../helpers/array";
import ButtonIcon from "../buttonIcon";
import confirmationPopup from "../confirmationPopup";
import { InputFile } from "../../layer";
export const LEFT_COLUMN_ACTIVE_CLASSNAME = 'is-left-column-shown';

View File

@ -6,7 +6,7 @@
import { copyTextToClipboard } from "../../../helpers/clipboard";
import { randomLong } from "../../../helpers/random";
import { Chat, ChatFull, ExportedChatInvite, ChannelLocation } from "../../../layer";
import { Chat, ChatFull, ExportedChatInvite } from "../../../layer";
import appChatsManager from "../../../lib/appManagers/appChatsManager";
import appProfileManager from "../../../lib/appManagers/appProfileManager";
import Button from "../../button";
@ -81,8 +81,6 @@ export default class AppChatTypeTab extends SliderSuperTabEventable {
}
});
let uri = '';
const btnRevoke = Button('btn-primary btn-transparent danger', {icon: 'delete', text: 'RevokeLink'});
attachClickEvent(btnRevoke, () => {

View File

@ -1,6 +1,6 @@
"GrantPermissions" = "Grant permissions"
"NewGeoGroup" = "New GeoGroup"
"ChannelGeoGroupLocation" = "Group location"
"GrantPermissions" = "Grant permissions";
"NewGeoGroup" = "New GeoGroup";
"ChannelGeoGroupLocation" = "Group location";
"Animations" = "Animations";
"AttachAlbum" = "Album";
"BlockModal.Search.Placeholder" = "Block user...";