u
This commit is contained in:
@@ -458,14 +458,14 @@ export async function recordOptionsListChangeHistory(runner, { articleId, compan
|
||||
// MARK: - Images & Media
|
||||
|
||||
/** Records image addition to an article. */
|
||||
export async function recordImageAddHistory(runner, { articleId, companyuserId, date, fullHash, sort }) {
|
||||
export async function recordImageAddHistory(runner, { articleId, companyuserId, date, fullHash, sort, skelehash }) {
|
||||
const text = typeof sort === 'number' ? `Bild hinzugefügt (Position ${sort + 1})` : 'Bild hinzugefügt';
|
||||
return recordArticleHistory(runner, { articleId, companyuserId, date, text, meta: { type: 'image_add', fullHash, sort } });
|
||||
return recordArticleHistory(runner, { articleId, companyuserId, date, text, meta: { type: 'image_add', fullHash, sort, skelehash } });
|
||||
}
|
||||
|
||||
/** Records image deletion from an article. */
|
||||
export async function recordImageDeleteHistory(runner, { articleId, companyuserId, date, fullHash }) {
|
||||
return recordArticleHistory(runner, { articleId, companyuserId, date, text: 'Bild gelöscht', meta: { type: 'image_delete', fullHash } });
|
||||
export async function recordImageDeleteHistory(runner, { articleId, companyuserId, date, fullHash, skelehash }) {
|
||||
return recordArticleHistory(runner, { articleId, companyuserId, date, text: 'Bild gelöscht', meta: { type: 'image_delete', fullHash, skelehash } });
|
||||
}
|
||||
|
||||
/** Records image reordering for an article. */
|
||||
|
||||
Reference in New Issue
Block a user