diff --git a/frontend/static/dev.html b/frontend/static/dev.html
index 5b1841e..93cc458 100644
--- a/frontend/static/dev.html
+++ b/frontend/static/dev.html
@@ -484,11 +484,20 @@
Configure Visualization
window.app.tearDown();
}
+ let selector;
+ if (mock) {
+ selector = { env: 'SpannerEnv.MOCK' };
+ } else {
+ selector = {
+ env: 'SpannerEnv.CLOUD',
+ project: project,
+ instance: instance,
+ database: database
+ };
+ }
+
const params = {
- 'project': project,
- 'instance': instance,
- 'database': database,
- 'mock': mock,
+ 'selector': selector,
'graph': graph
};
@@ -546,4 +555,4 @@ Configure Visualization
toggleCommandPalette();