Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ilja
pleroma-fe
Commits
e49cf7b6
Commit
e49cf7b6
authored
7 years ago
by
dtluna
Browse files
Options
Downloads
Patches
Plain Diff
Add textlimit
parent
e2248bcf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.js
+3
-2
3 additions, 2 deletions
src/main.js
with
3 additions
and
2 deletions
src/main.js
+
3
−
2
View file @
e49cf7b6
...
...
@@ -78,9 +78,10 @@ const i18n = new VueI18n({
window
.
fetch
(
'
/api/statusnet/config.json
'
)
.
then
((
res
)
=>
res
.
json
())
.
then
((
data
)
=>
{
const
{
name
,
closed
:
registrationClosed
,
textlimit
}
=
data
const
{
name
,
closed
:
registrationClosed
,
textlimit
}
=
data
.
site
store
.
dispatch
(
'
setOption
'
,
{
name
:
'
name
'
,
value
:
name
})
store
.
dispatch
(
'
setOption
'
,
{
name
:
'
registrationOpen
'
,
value
:
!
registrationClosed
})
store
.
dispatch
(
'
setOption
'
,
{
name
:
'
registrationOpen
'
,
value
:
(
registrationClosed
===
'
0
'
)
})
store
.
dispatch
(
'
setOption
'
,
{
name
:
'
textlimit
'
,
value
:
parseInt
(
textlimit
)
})
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment