mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
cancel > remove
This commit is contained in:
parent
8b8d06cf3e
commit
628a3b65c6
@ -19,7 +19,7 @@ import {renderMessage} from "./common.js";
|
|||||||
|
|
||||||
export class MissingAttachmentView extends TemplateView {
|
export class MissingAttachmentView extends TemplateView {
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
const cancel = t.button({className: "link", onClick: () => vm.abortSending()}, vm.i18n`Cancel`);
|
const remove = t.button({className: "link", onClick: () => vm.abortSending()}, vm.i18n`Remove`);
|
||||||
return renderMessage(t, vm, t.p([vm.label, " ", cancel]));
|
return renderMessage(t, vm, t.p([vm.label, " ", remove]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user