mirror of
https://github.com/hay-kot/homebox.git
synced 2025-06-10 14:32:27 +00:00
feat: primary images (#576)
* add support for primary images
* fix locked loading state issue
* add action to auto-set images
Former-commit-id: 318b8be192
This commit is contained in:
parent
ce16b37b97
commit
b20c88e256
34 changed files with 649 additions and 207 deletions
|
@ -19,4 +19,10 @@ export class ActionsAPI extends BaseAPI {
|
|||
url: route("/actions/ensure-import-refs"),
|
||||
});
|
||||
}
|
||||
|
||||
setPrimaryPhotos() {
|
||||
return this.http.post<void, ActionAmountResult>({
|
||||
url: route("/actions/set-primary-photos"),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue