Просмотр исходного кода

Reinitialise Writefull toolbar after buying AI assist (#25596)

* Reinit Writefull toolbar after buying AI assist

* use refreshSession()

* add a timeout

* add a second refresh

GitOrigin-RevId: a2572d62bce0e344d92696e42d137a0b36574b3b
Domagoj Kriskovic 1 год назад
Родитель
Сommit
50a5c7984d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      services/web/frontend/js/shared/context/types/writefull-instance.ts

+ 1 - 0
services/web/frontend/js/shared/context/types/writefull-instance.ts

@@ -42,4 +42,5 @@ export interface WritefullAPI {
   ): void
   ): void
   openTableGenerator(): void
   openTableGenerator(): void
   openEquationGenerator(): void
   openEquationGenerator(): void
+  refreshSession(): void
 }
 }