Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
e799c6e2
Commit
e799c6e2
authored
7 years ago
by
Michael Lange
Browse files
Options
Download
Email Patches
Plain Diff
Order keys consistently for enhanced readability
parent
39d704b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui/app/controllers/settings/tokens.js
+2
-2
ui/app/controllers/settings/tokens.js
with
2 additions
and
2 deletions
+2
-2
ui/app/controllers/settings/tokens.js
+
2
-
2
View file @
e799c6e2
...
@@ -5,11 +5,11 @@ const { Controller, inject, computed, getOwner } = Ember;
...
@@ -5,11 +5,11 @@ const { Controller, inject, computed, getOwner } = Ember;
export
default
Controller
.
extend
({
export
default
Controller
.
extend
({
token
:
inject
.
service
(),
token
:
inject
.
service
(),
tokenRecord
:
null
,
secret
:
computed
.
reads
(
'
token.secret
'
),
secret
:
computed
.
reads
(
'
token.secret
'
),
tokenIsValid
:
false
,
tokenIsValid
:
false
,
tokenIsInvalid
:
false
,
tokenIsInvalid
:
false
,
tokenRecord
:
null
,
actions
:
{
actions
:
{
clearTokenProperties
()
{
clearTokenProperties
()
{
...
@@ -41,8 +41,8 @@ export default Controller.extend({
...
@@ -41,8 +41,8 @@ export default Controller.extend({
()
=>
{
()
=>
{
this
.
set
(
'
token.secret
'
,
null
);
this
.
set
(
'
token.secret
'
,
null
);
this
.
setProperties
({
this
.
setProperties
({
tokenIsInvalid
:
true
,
tokenIsValid
:
false
,
tokenIsValid
:
false
,
tokenIsInvalid
:
true
,
tokenRecord
:
null
,
tokenRecord
:
null
,
});
});
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help