Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pleroma-fe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
absturztaube
pleroma-fe
Commits
6a4ad1fe
Commit
6a4ad1fe
authored
May 25, 2020
by
HJ
🐼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added "settings saved" notice back
parent
e7ba4255
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
src/components/settings_modal/settings_modal_content.js
src/components/settings_modal/settings_modal_content.js
+3
-0
src/components/settings_modal/settings_modal_content.vue
src/components/settings_modal/settings_modal_content.vue
+19
-0
No files found.
src/components/settings_modal/settings_modal_content.js
View file @
6a4ad1fe
...
...
@@ -25,6 +25,9 @@ const SettingsModalContent = {
ThemeTab
},
computed
:
{
currentSaveStateNotice
()
{
return
this
.
$store
.
state
.
interface
.
settings
.
currentSaveStateNotice
},
isLoggedIn
()
{
return
!!
this
.
$store
.
state
.
users
.
currentUser
}
...
...
src/components/settings_modal/settings_modal_content.vue
View file @
6a4ad1fe
...
...
@@ -4,6 +4,25 @@
<span
class=
"title"
>
{{
$t
(
'
settings.settings
'
)
}}
</span>
<transition
name=
"fade"
>
<template
v-if=
"currentSaveStateNotice"
>
<div
v-if=
"currentSaveStateNotice.error"
class=
"alert error"
@
click.prevent
>
{{
$t
(
'
settings.saving_err
'
)
}}
</div>
<div
v-if=
"!currentSaveStateNotice.error"
class=
"alert transparent"
@
click.prevent
>
{{
$t
(
'
settings.saving_ok
'
)
}}
</div>
</
template
>
</transition>
<button
class=
"btn"
@
click=
"peekModal"
...
...
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