Browse Source

Fixes ^

master
Global Server 3 years ago
parent
commit
4734ce0f1f
  1. 2
      src/components/inputField.ts
  2. 1
      src/components/sidebarLeft/index.ts
  3. 4
      src/components/sidebarRight/tabs/chatType.ts
  4. 6
      src/scripts/out/langPack.strings

2
src/components/inputField.ts

@ -109,7 +109,7 @@ class InputField {
options.showLengthOn = Math.min(40, Math.round(options.maxLength / 3)); 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; let label = options.label || options.labelText;

1
src/components/sidebarLeft/index.ts

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

4
src/components/sidebarRight/tabs/chatType.ts

@ -6,7 +6,7 @@
import { copyTextToClipboard } from "../../../helpers/clipboard"; import { copyTextToClipboard } from "../../../helpers/clipboard";
import { randomLong } from "../../../helpers/random"; 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 appChatsManager from "../../../lib/appManagers/appChatsManager";
import appProfileManager from "../../../lib/appManagers/appProfileManager"; import appProfileManager from "../../../lib/appManagers/appProfileManager";
import Button from "../../button"; 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'}); const btnRevoke = Button('btn-primary btn-transparent danger', {icon: 'delete', text: 'RevokeLink'});
attachClickEvent(btnRevoke, () => { attachClickEvent(btnRevoke, () => {

6
src/scripts/out/langPack.strings

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

Loading…
Cancel
Save