Skip to content

Commit

Permalink
fix: etag
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Oct 23, 2023
1 parent 48f76d5 commit 959ec02
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/telegram/bot/links/details.panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@
<ext-container bind='{"hidden":"{editName}"}' layout='{"align":"start","type":"hbox"}'>
<ext-displayfield bind="{telegramBotLinkRecord.name}" :label="l10n(`Name`)" labelAlign="left" labelWidth="150"/>
<ext-spacer/>

<ext-button bind='{"hidden":"{!telegramBotRecord.can_update_link}"}' iconCls="fa-solid fa-pen" :tooltip="l10n(`Edit`)" @tap="beginEditName"/>
</ext-container>

<ext-container bind='{"hidden":"{!editName}"}' layout='{"align":"start","type":"hbox"}'>
<ext-textfield ref="nameEditField" flex="1" :label="l10n(`Name`)" labelAlign="left" labelWidth="150"/>

<ext-spacer/>

<ext-button iconCls="fa-solid fa-check" :tooltip="l10n(`Save`)" @tap="saveName"/>

<ext-button iconCls="fa-solid fa-xmark" :tooltip="l10n(`Cancel`)" ui="decline" @tap="cancelEditName"/>
Expand All @@ -41,15 +38,12 @@
<ext-container bind='{"hidden":"{editDescription}"}' layout='{"align":"start","type":"hbox"}'>
<ext-textareafield bind="{telegramBotLinkRecord.description}" flex="1" height="150" :label="l10n(`Description`)" labelAlign="left" labelWidth="150" readOnly="true"/>
<ext-spacer/>

<ext-button bind='{"hidden":"{!telegramBotRecord.can_update_link}"}' iconCls="fa-solid fa-pen" :tooltip="l10n(`Edit`)" @tap="beginEditDescription"/>
</ext-container>

<ext-container bind='{"hidden":"{!editDescription}"}' layout='{"align":"start","type":"hbox"}'>
<ext-textareafield ref="descriptionEditField" height="150" :label="l10n(`Description`)" labelAlign="left" labelWidth="150"/>

<ext-spacer/>

<ext-button iconCls="fa-solid fa-check" :tooltip="l10n(`Save`)" @tap="saveDescription"/>

<ext-button iconCls="fa-solid fa-xmark" :tooltip="l10n(`Cancel`)" ui="decline" @tap="cancelEditDescription"/>
Expand Down

0 comments on commit 959ec02

Please sign in to comment.