(core) Fix mislabeled telemetry metadata

Summary:
The oldFormula and newFormula metadata fields had their names switched by
mistake.

Test Plan: N/A

Reviewers: JakubSerafin

Reviewed By: JakubSerafin

Differential Revision: https://phab.getgrist.com/D3976
pull/606/head
George Gevoian 10 months ago
parent 9b87a6f06a
commit 9484fa14db

@ -311,8 +311,8 @@ export class FormulaAssistant extends Disposable {
private _saveOrClose() { private _saveOrClose() {
if (this._hasExpanded) { if (this._hasExpanded) {
this._logTelemetryEvent('assistantSave', true, { this._logTelemetryEvent('assistantSave', true, {
newFormula: this._options.column.formula.peek(), oldFormula: this._options.column.formula.peek(),
oldFormula: this._options.editor.getTextValue(), newFormula: this._options.editor.getTextValue(),
}); });
} }
this._action = 'save'; this._action = 'save';

Loading…
Cancel
Save