mirror of
https://github.com/sigmasternchen/tagify
synced 2025-03-15 07:08:55 +00:00
fix: file clone method now includes new attributes
This commit is contained in:
parent
3dfa062cb9
commit
24312b2cac
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue