mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Hard-match for tags array
This commit is contained in:
@@ -137,7 +137,7 @@ function compareArticle (original, modified) {
|
||||
var keys = _.keys(_.pick(modified, ['mode', 'title', 'tags', 'content', 'FolderKey']))
|
||||
|
||||
return keys.reduce((sum, key) => {
|
||||
if (original[key] !== modified[key]) {
|
||||
if ((key === 'tags' && !_.isEqual(original[key], modified[key])) || (key !== 'tags' && original[key] !== modified[key])) {
|
||||
if (sum == null) {
|
||||
sum = {
|
||||
key: original.key
|
||||
|
||||
Reference in New Issue
Block a user