REST API webUI option #191
This commit is contained in:
@ -216,6 +216,16 @@ export default class ConfigPage extends Page {
|
||||
}}
|
||||
/>
|
||||
|
||||
<Toggle
|
||||
style={{marginTop: '10px'}}
|
||||
label={__('REST API support')}
|
||||
toggled={this.options.restApi}
|
||||
onToggle={(e, checked) => {
|
||||
this.options.restApi = checked
|
||||
this.forceUpdate()
|
||||
}}
|
||||
/>
|
||||
|
||||
</div>
|
||||
</Tab>
|
||||
<Tab value='p2p' label={__("P2P settings")} icon={<SvgIcon viewBox="0 0 47 47">
|
||||
|
@ -198,6 +198,7 @@
|
||||
"File": "文件",
|
||||
"Folder": "文件夾",
|
||||
"Generate": "產生",
|
||||
"Dark mode theme": "Dark mode theme"
|
||||
"Dark mode theme": "Dark mode theme",
|
||||
"REST API support": "REST API support"
|
||||
}
|
||||
}
|
@ -198,6 +198,7 @@
|
||||
"File": "File",
|
||||
"Folder": "Folder",
|
||||
"Generate": "Generate",
|
||||
"Dark mode theme": "Dark mode theme"
|
||||
"Dark mode theme": "Dark mode theme",
|
||||
"REST API support": "REST API support"
|
||||
}
|
||||
}
|
@ -198,6 +198,7 @@
|
||||
"File": "Файл",
|
||||
"Folder": "Папка",
|
||||
"Generate": "Сгенерировать",
|
||||
"Dark mode theme": "Темная тема"
|
||||
"Dark mode theme": "Темная тема",
|
||||
"REST API support": "REST API support"
|
||||
}
|
||||
}
|
@ -198,6 +198,7 @@
|
||||
"File": "Файл",
|
||||
"Folder": "Папка",
|
||||
"Generate": "Згенерувати",
|
||||
"Dark mode theme": "Dark mode theme"
|
||||
"Dark mode theme": "Dark mode theme",
|
||||
"REST API support": "REST API support"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user