mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed description editing in collections service
refs https://github.com/TryGhost/Team/issues/3260 - Fixed broken functionality after a refactor
This commit is contained in:
parent
93bad82a24
commit
5d16425428
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ export class CollectionsService {
|
||||||
collection.title = data.title;
|
collection.title = data.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (data.description) {
|
||||||
|
collection.description = data.description;
|
||||||
|
}
|
||||||
|
|
||||||
await this.collectionsRepository.save(collection);
|
await this.collectionsRepository.save(collection);
|
||||||
|
|
||||||
return collection;
|
return collection;
|
||||||
|
|
Loading…
Add table
Reference in a new issue