fix: file clone method now includes new attributes

This commit is contained in:
overflowerror 2021-10-14 14:51:49 +02:00
parent 3dfa062cb9
commit 24312b2cac

View file

@ -116,6 +116,9 @@ export class MediaFile {
public clone(): MediaFile {
const clone = new MediaFile(this.path)
clone.tags = [...this.tags]
clone.description = this.description
clone.group = this.group
clone.ordinal = this.ordinal
return clone
}