diff options
author | bobzel <zzzman@gmail.com> | 2020-09-02 10:46:29 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-02 10:46:29 -0400 |
commit | 2e3b83df9b0cb69db6f5febae70a2e36a0a90822 (patch) | |
tree | 2c84680d30b0726755bd9c823b23c9a484676690 /src/client/views/PropertiesView.tsx | |
parent | 6f72743516e47a6ad077bb8e894c8005fee29fc7 (diff) |
made highlight colors more obvious. fixed tags to update when #key is set in textdoc.
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index ddc76d373..6e029188a 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -243,10 +243,10 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { return true; } else if (value[0] === "#") { const newVal = value + `:'${value}'`; - KeyValueBox.SetField(doc, value, `'${value}'`, true); + doc[DataSym][value] = value; const tags = StrCast(doc.tags, ":"); - if (!tags.includes(`#${value}:`)) { - KeyValueBox.SetField(doc, "tags", `"${tags + value + ':'}"`, true); + if (!tags.includes(`${value}:`)) { + doc[DataSym].tags = `${tags + value + ':'}`; } return true; } |