mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:48:28 +08:00
Remove unneeded delete
(#2835)
This commit is contained in:
parent
66233ce818
commit
588a9f952f
|
@ -100,8 +100,6 @@ export default class AdminPage extends Page {
|
|||
|
||||
const { setting, help, ...componentAttrs } = entry;
|
||||
|
||||
delete componentAttrs.help;
|
||||
|
||||
const value = this.setting([setting])();
|
||||
if (['bool', 'checkbox', 'switch', 'boolean'].includes(componentAttrs.type)) {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user