From 2ac69bbdd570e39143d7ecd4c54bd7a54b9e6215 Mon Sep 17 00:00:00 2001 From: Youngteac Hong Date: Fri, 25 Aug 2023 21:05:59 +0900 Subject: [PATCH] Recover Select to prevent unsupported operation (#634) --- src/api/converter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/converter.ts b/src/api/converter.ts index 7efee068a..7e8b14ffb 100644 --- a/src/api/converter.ts +++ b/src/api/converter.ts @@ -1084,6 +1084,9 @@ function fromOperations(pbOperations: Array): Array { attributes, fromTimeTicket(pbStyleOperation!.getExecutedAt())!, ); + } else if (pbOperation.hasSelect()) { + // TODO(hackerwins): Select is deprecated. + continue; } else if (pbOperation.hasIncrease()) { const pbIncreaseOperation = pbOperation.getIncrease(); operation = IncreaseOperation.create(