Implementation of categoryId edition.

This commit is contained in:
Florian THIERRY
2024-09-10 10:47:58 +02:00
parent 1cc4abc24e
commit 500952d4d4
4 changed files with 58 additions and 9 deletions

View File

@@ -139,6 +139,12 @@ export class PublicationEditionService implements OnDestroy {
this._save(state);
}
editCategoryId(categoryId: string): void {
const state = this._state;
state.publication.categoryId = categoryId;
this._save(state);
}
editText(text: string): void {
const state = this._state;
state.publication.text = text;