Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
08e69af5
Commit
08e69af5
authored
Apr 05, 2026
by
erio
Browse files
fix: remove empty DataManagement tab from settings (was Sora S3 storage)
parent
294b4bcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/admin/DataManagementView.vue
deleted
100644 → 0
View file @
294b4bcb
<
template
>
<div
class=
"space-y-6"
>
<!-- Placeholder: no data management content configured -->
</div>
</
template
>
<
script
setup
lang=
"ts"
>
</
script
>
frontend/src/views/admin/SettingsView.vue
View file @
08e69af5
...
@@ -1956,13 +1956,8 @@
...
@@ -1956,13 +1956,8 @@
<
BackupSettings
/>
<
BackupSettings
/>
<
/div
>
<
/div
>
<!--
Tab
:
Data
Management
-->
<
div
v
-
show
=
"
activeTab === 'data'
"
>
<
DataManagementSettings
/>
<
/div
>
<!--
Save
Button
-->
<!--
Save
Button
-->
<
div
v
-
show
=
"
activeTab !== 'backup'
&& activeTab !== 'data'
"
class
=
"
flex justify-end
"
>
<
div
v
-
show
=
"
activeTab !== 'backup'
"
class
=
"
flex justify-end
"
>
<
button
type
=
"
submit
"
:
disabled
=
"
saving || loadFailed
"
class
=
"
btn btn-primary
"
>
<
button
type
=
"
submit
"
:
disabled
=
"
saving || loadFailed
"
class
=
"
btn btn-primary
"
>
<
svg
v
-
if
=
"
saving
"
class
=
"
h-4 w-4 animate-spin
"
fill
=
"
none
"
viewBox
=
"
0 0 24 24
"
>
<
svg
v
-
if
=
"
saving
"
class
=
"
h-4 w-4 animate-spin
"
fill
=
"
none
"
viewBox
=
"
0 0 24 24
"
>
<
circle
<
circle
...
@@ -2005,7 +2000,6 @@ import GroupOptionItem from '@/components/common/GroupOptionItem.vue'
...
@@ -2005,7 +2000,6 @@ import GroupOptionItem from '@/components/common/GroupOptionItem.vue'
import
Toggle
from
'
@/components/common/Toggle.vue
'
import
Toggle
from
'
@/components/common/Toggle.vue
'
import
ImageUpload
from
'
@/components/common/ImageUpload.vue
'
import
ImageUpload
from
'
@/components/common/ImageUpload.vue
'
import
BackupSettings
from
'
@/views/admin/BackupView.vue
'
import
BackupSettings
from
'
@/views/admin/BackupView.vue
'
import
DataManagementSettings
from
'
@/views/admin/DataManagementView.vue
'
import
{
useClipboard
}
from
'
@/composables/useClipboard
'
import
{
useClipboard
}
from
'
@/composables/useClipboard
'
import
{
useAppStore
}
from
'
@/stores
'
import
{
useAppStore
}
from
'
@/stores
'
import
{
useAdminSettingsStore
}
from
'
@/stores/adminSettings
'
import
{
useAdminSettingsStore
}
from
'
@/stores/adminSettings
'
...
@@ -2020,7 +2014,7 @@ const { t } = useI18n()
...
@@ -2020,7 +2014,7 @@ const { t } = useI18n()
const
appStore
=
useAppStore
()
const
appStore
=
useAppStore
()
const
adminSettingsStore
=
useAdminSettingsStore
()
const
adminSettingsStore
=
useAdminSettingsStore
()
type
SettingsTab
=
'
general
'
|
'
security
'
|
'
users
'
|
'
gateway
'
|
'
email
'
|
'
backup
'
|
'
data
'
type
SettingsTab
=
'
general
'
|
'
security
'
|
'
users
'
|
'
gateway
'
|
'
email
'
|
'
backup
'
const
activeTab
=
ref
<
SettingsTab
>
(
'
general
'
)
const
activeTab
=
ref
<
SettingsTab
>
(
'
general
'
)
const
settingsTabs
=
[
const
settingsTabs
=
[
{
key
:
'
general
'
as
SettingsTab
,
icon
:
'
home
'
as
const
}
,
{
key
:
'
general
'
as
SettingsTab
,
icon
:
'
home
'
as
const
}
,
...
@@ -2029,7 +2023,6 @@ const settingsTabs = [
...
@@ -2029,7 +2023,6 @@ const settingsTabs = [
{
key
:
'
gateway
'
as
SettingsTab
,
icon
:
'
server
'
as
const
}
,
{
key
:
'
gateway
'
as
SettingsTab
,
icon
:
'
server
'
as
const
}
,
{
key
:
'
email
'
as
SettingsTab
,
icon
:
'
mail
'
as
const
}
,
{
key
:
'
email
'
as
SettingsTab
,
icon
:
'
mail
'
as
const
}
,
{
key
:
'
backup
'
as
SettingsTab
,
icon
:
'
database
'
as
const
}
,
{
key
:
'
backup
'
as
SettingsTab
,
icon
:
'
database
'
as
const
}
,
{
key
:
'
data
'
as
SettingsTab
,
icon
:
'
cube
'
as
const
}
,
]
]
const
{
copyToClipboard
}
=
useClipboard
()
const
{
copyToClipboard
}
=
useClipboard
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment