Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Papermerge.Js
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Jonas Leder
Papermerge.Js
Commits
e95101ad
Commit
e95101ad
authored
3 years ago
by
Eugen Ciur
Browse files
Options
Downloads
Patches
Plain Diff
minor styling
parent
30f95bfa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/components/group/new.js
+5
-6
5 additions, 6 deletions
app/components/group/new.js
app/components/tag/new.js
+7
-9
7 additions, 9 deletions
app/components/tag/new.js
with
12 additions
and
15 deletions
app/components/group/new.js
+
5
−
6
View file @
e95101ad
import
Component
from
'
@glimmer/component
'
;
import
{
action
}
from
'
@ember/object
'
;
import
{
tracked
}
from
'
@glimmer/tracking
'
;
import
{
inject
as
service
}
from
'
@ember/service
'
;
import
{
service
}
from
'
@ember/service
'
;
export
default
class
NewGroupComponent
extends
Component
{
@
service
store
;
...
...
@@ -15,11 +16,9 @@ export default class NewGroupComponent extends Component {
@
action
onCreate
()
{
this
.
store
.
createRecord
(
'
group
'
,
{
name
:
this
.
new_name
,
})
.
save
();
this
.
store
.
createRecord
(
'
group
'
,
{
name
:
this
.
new_name
,
}).
save
();
this
.
_empty_form
();
}
...
...
This diff is collapsed.
Click to expand it.
app/components/tag/new.js
+
7
−
9
View file @
e95101ad
...
...
@@ -50,15 +50,13 @@ export default class NewTagComponent extends Component {
@
action
onCreate
()
{
this
.
store
.
createRecord
(
'
tag
'
,
{
name
:
this
.
new_name
,
description
:
this
.
new_description
,
pinned
:
this
.
new_pinned
,
bg_color
:
this
.
new_bg_color
,
fg_color
:
this
.
new_fg_color
,
})
.
save
();
this
.
store
.
createRecord
(
'
tag
'
,
{
name
:
this
.
new_name
,
description
:
this
.
new_description
,
pinned
:
this
.
new_pinned
,
bg_color
:
this
.
new_bg_color
,
fg_color
:
this
.
new_fg_color
,
}).
save
();
this
.
_empty_form
();
}
...
...
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