Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
4c311738
Commit
4c311738
authored
Jun 21, 2018
by
Tobias Skarhed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Karma to Jest: history_ctrl. .gitingore: .vs/
parent
d00e2c20
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
3 deletions
+1
-3
.gitignore
+1
-0
public/app/features/dashboard/history/history.ts
+0
-3
public/app/features/dashboard/specs/history_ctrl.jest.ts
+0
-0
No files found.
.gitignore
View file @
4c311738
...
...
@@ -33,6 +33,7 @@ public/css/*.min.css
*.tmp
.DS_Store
.vscode/
.vs/
/data/*
/bin/*
...
...
public/app/features/dashboard/history/history.ts
View file @
4c311738
...
...
@@ -113,7 +113,6 @@ export class HistoryListCtrl {
.
calculateDiff
(
options
)
.
then
(
response
=>
{
this
.
delta
[
this
.
diff
]
=
response
;
console
.
log
(
'SUCCESSS!!!'
);
})
.
catch
(()
=>
{
this
.
mode
=
'list'
;
...
...
@@ -160,12 +159,10 @@ export class HistoryListCtrl {
this
.
delta
=
{
basic
:
''
,
json
:
''
};
this
.
diff
=
'basic'
;
this
.
mode
=
'list'
;
//console.log(this.revisions);
this
.
revisions
=
_
.
map
(
this
.
revisions
,
rev
=>
_
.
extend
({},
rev
,
{
checked
:
false
}));
this
.
canCompare
=
false
;
this
.
start
=
0
;
this
.
isNewLatest
=
false
;
//console.log(this.revisions);
}
resetFromSource
()
{
...
...
public/app/features/dashboard/specs/history_ctrl.jest.ts
View file @
4c311738
This diff is collapsed.
Click to expand it.
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