Skip to content

Commit

Permalink
Merge pull request #1582 from dandi/disable-meditor
Browse files Browse the repository at this point in the history
Temporarily disable metadata editing
  • Loading branch information
mvandenburgh authored Apr 25, 2023
2 parents 1844c8c + b407093 commit 687a6a0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion web/src/components/Meditor/Meditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@
</v-col>
</v-row>
<v-row class="px-2 justify-center">
<v-banner>
<span class="font-weight-bold">
<v-icon slot="icon">mdi-timer-sand-empty</v-icon>
The metadata editor is currently undergoing maintenance.
Metadata editing is temporarily disabled.
</span>
</v-banner>
<v-tabs
v-model="tab"
background-color="grey darken-2"
Expand Down Expand Up @@ -274,7 +281,11 @@ const currentDandiset = computed(() => store.dandiset);
const id = computed(() => currentDandiset.value?.dandiset.identifier);
const schema: ComputedRef<JSONSchema7> = computed(() => store.schema);
const model = computed(() => currentDandiset.value?.metadata);
const readonly = computed(() => !store.userCanModifyDandiset);
// TODO: re-enable editing once maintenance is finished
// const readonly = computed(() => !store.userCanModifyDandiset);
const readonly = computed(() => true);
// const isDataInLocalStorage = computed(
// () => (model.value ? dataInLocalStorage(model.value.id) : false),
// );
Expand Down

0 comments on commit 687a6a0

Please sign in to comment.