(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
This commit is contained in:
George Gevoian 2023-07-26 21:56:41 -07:00
parent 9b87a6f06a
commit 9484fa14db

View File

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