This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new ea47b1f  [BEAM-13502]: fix loading example on embedded version
     new c970da3  Merge pull request #16305 from [BEAM-13502] [Playground] 
[Bugfix] showing a selected example on the embedded version of the playground
ea47b1f is described below

commit ea47b1fb2c4c2add48feb93f95cce3c30a4924d0
Author: Aydar Farrakhov <stranni...@gmail.com>
AuthorDate: Tue Dec 21 16:17:53 2021 +0300

    [BEAM-13502]: fix loading example on embedded version
---
 .../lib/pages/embedded_playground/components/embedded_editor.dart        | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/playground/frontend/lib/pages/embedded_playground/components/embedded_editor.dart
 
b/playground/frontend/lib/pages/embedded_playground/components/embedded_editor.dart
index 624e300..1d97ced 100644
--- 
a/playground/frontend/lib/pages/embedded_playground/components/embedded_editor.dart
+++ 
b/playground/frontend/lib/pages/embedded_playground/components/embedded_editor.dart
@@ -28,6 +28,7 @@ class EmbeddedEditor extends StatelessWidget {
   Widget build(BuildContext context) {
     final state = Provider.of<PlaygroundState>(context);
     return EditorTextArea(
+      key: ValueKey(state.selectedExample),
       enabled: true,
       sdk: state.sdk,
       example: state.selectedExample,

Reply via email to