mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +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 {
|
||||
render(t, vm) {
|
||||
const cancel = t.button({className: "link", onClick: () => vm.abortSending()}, vm.i18n`Cancel`);
|
||||
return renderMessage(t, vm, t.p([vm.label, " ", cancel]));
|
||||
const remove = t.button({className: "link", onClick: () => vm.abortSending()}, vm.i18n`Remove`);
|
||||
return renderMessage(t, vm, t.p([vm.label, " ", remove]));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user