Skip to content

Commit

Permalink
fix repo settings (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhendi authored Oct 28, 2024
1 parent 58bee27 commit 343a2a4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
ElMessageBox({
title: this.$t('application_spaces.edit.changeVisibility'),
message: h('p', null, [
h('span', null, $t('all.changeVis')),
h('span', null, this.$t('all.changeVis')),
h(
'span',
null,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/codes/CodeSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
ElMessageBox({
title: this.$t('codes.edit.changeVisibility'),
message: h('p', null, [
h('span', null, $t('all.changeVis')),
h('span', null, this.$t('all.changeVis')),
h(
'span',
null,
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/datasets/DatasetSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -499,13 +499,13 @@
ElMessageBox({
title: this.$t('datasets.edit.changeVisibility'),
message: h('p', null, [
h('span', null, $t('all.changeVis')),
h('span', null, this.$t('all.changeVis')),
h(
'span',
null,
value === 'Private'
? $t('all.private')
: $t('all.public')
? this.$t('all.private')
: this.$t('all.public')
),
h(
'span',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/models/ModelSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@
ElMessageBox({
title: this.$t('models.edit.changeVisibility'),
message: h('p', null, [
h('span', null, $t('all.changeVis')),
h('span', null, this.$t('all.changeVis')),
h(
'span',
null,
Expand Down

0 comments on commit 343a2a4

Please sign in to comment.