Fix UI issues and add Pins and Templates
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m38s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m38s
This commit is contained in:
parent
a361848216
commit
617f8160b2
10 changed files with 281 additions and 59 deletions
|
|
@ -478,6 +478,14 @@ class ApiClient {
|
|||
return res.json();
|
||||
}
|
||||
|
||||
async createFromTemplate(templateName: string) {
|
||||
const res = await this.request('/api/onlyoffice/template', {
|
||||
method: 'POST',
|
||||
body: { template: templateName }
|
||||
});
|
||||
return res.json();
|
||||
}
|
||||
|
||||
async signOnlyOfficeConfig(config: any) {
|
||||
const res = await this.request('/api/onlyoffice/sign', {
|
||||
method: 'POST',
|
||||
|
|
|
|||
Reference in a new issue