fix(frontend/deck): コラムのリロードボタンが2個存在する問題を修正 (MisskeyIO#236)

This commit is contained in:
まっちゃとーにゅ 2023-11-20 09:11:12 +09:00 committed by GitHub
parent 02d3b9b3c2
commit 600e4fab2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,18 +179,6 @@ function getMenu() {
},
}];
if (props.refresher) {
items = [{
icon: 'ti ti-refresh',
text: i18n.ts.reload,
action: () => {
if (props.refresher) {
props.refresher();
}
},
}, ...items];
}
if (props.menu) {
items.unshift(null);
items = props.menu.concat(items);