chhoumann / MetaEdit

MetaEdit for Obsidian
https://bagerbach.com
GNU General Public License v3.0
393 stars 15 forks source link

Update API function is changing all properties that contain the string #98

Open KalbazJarak opened 11 months ago

KalbazJarak commented 11 months ago

I have a library of TV show based notes and a dataviewjs table that lists the ones I haven't watched. I added a button to this table to update the show once I've watched it by using the update function from the MetaEdit API.

await update("status", "complete", file)

I have a property of "status" for whether I've watched it and an "airingstatus" property that pulls from IMDB whether the show is still airing when the note is created. The issue is when I run the MetaEdit update function it replaces "airingstatus" with just another "status" and sets both to complete.