Skip to content

Commit

Permalink
fix(Viewer store update): Remove all logs and more
Browse files Browse the repository at this point in the history
  • Loading branch information
SpliiT committed Jun 26, 2024
1 parent 8f098f3 commit 3c0956f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
3 changes: 1 addition & 2 deletions components/ImportFile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</template>

<script setup>
import schemas from "@geode/opengeodeweb-viewer/schemas.json";
import schema from "@/components/importfile.json";
const emit = defineEmits(["update_values", "increment_step", "decrement_step"]);
Expand Down Expand Up @@ -46,8 +47,6 @@ async function import_files() {
},
}
);
router;
}
toggle_loading();
}
Expand Down
16 changes: 2 additions & 14 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,10 @@
</template>

<script setup>
import schemas from "@geode/opengeodeweb-viewer/schemas.json";
const viewer_store = use_viewer_store();
onMounted(async () => {
console.log("MOUNTED", viewer_store);
if (!viewer_store.client) {
await viewer_store.ws_connect();
console.log("connected");
const id = "d4a253d71e9e4df096574b36639e317d";
const file_name = "d4a253d71e9e4df096574b36639e317d.vtp";
console.log("CALLING", { id, file_name });
console.log(viewer_store.client);
// await viewer_call({
// schema: schemas.opengeodeweb_viewer.create_object_pipeline,
// params: { id, file_name },
// });
});
}
</script>

<style>
Expand Down

0 comments on commit 3c0956f

Please sign in to comment.