Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ VITE_ENABLE_REMOTE_SAVE=true

# VolView server remote URL
VITE_REMOTE_SERVER_URL=http://localhost:4014

# Controls the initial visibility of the Sample Data section.
VITE_SHOW_SAMPLE_DATA=true
3 changes: 2 additions & 1 deletion src/store/data-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useDataBrowserStore = defineStore('data-browser', () => {
const hideSampleData = ref(false);
const hideSampleData = ref(import.meta.env.VITE_SHOW_SAMPLE_DATA !== 'true');

return {
hideSampleData,
};
Expand Down
Loading