Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
274e1010
There was an error fetching the commit references. Please try again later.
Commit
274e1010
authored
6 years ago
by
Thisari Muthuwahandi
Browse files
Options
Downloads
Patches
Plain Diff
Add missing return type 'void' to methods
parent
95a19609
3 merge requests
!171
SWTP Comment Project
,
!170
Fix linter in pipe
,
!169
WebSocket Connector
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/components/creator/_dialogs/comment-export/comment-export.component.ts
+4
-4
4 additions, 4 deletions
...eator/_dialogs/comment-export/comment-export.component.ts
src/app/services/http/comment.service.ts
+1
-1
1 addition, 1 deletion
src/app/services/http/comment.service.ts
with
5 additions
and
5 deletions
src/app/components/creator/_dialogs/comment-export/comment-export.component.ts
+
4
−
4
View file @
274e1010
...
...
@@ -45,11 +45,11 @@ export class CommentExportComponent implements OnInit {
return
this
.
currentButton
=
change
.
value
;
}
onNoClick
()
{
onNoClick
()
:
void
{
this
.
dialogRef
.
close
();
}
exportJson
(
date
:
string
)
{
exportJson
(
date
:
string
)
:
void
{
const
jsonComments
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
comments
));
jsonComments
.
forEach
(
element
=>
{
delete
element
.
id
;
...
...
@@ -65,7 +65,7 @@ export class CommentExportComponent implements OnInit {
link
.
click
();
}
exportCsv
(
delimiter
:
string
,
date
:
string
)
{
exportCsv
(
delimiter
:
string
,
date
:
string
)
:
void
{
let
csv
:
string
;
let
keyFields
=
''
;
let
valueFields
=
''
;
...
...
@@ -83,7 +83,7 @@ export class CommentExportComponent implements OnInit {
link
.
click
();
}
onExport
()
{
onExport
()
:
void
{
const
date
=
new
Date
();
const
dateString
=
date
.
getFullYear
()
+
'
_
'
+
(
'
0
'
+
(
date
.
getMonth
()
+
1
)).
slice
(
-
2
)
+
'
_
'
+
(
'
0
'
+
date
.
getDate
()).
slice
(
-
2
);
const
timeString
=
(
'
0
'
+
date
.
getHours
()).
slice
(
-
2
)
+
(
'
0
'
+
date
.
getMinutes
()).
slice
(
-
2
)
+
(
'
0
'
+
date
.
getSeconds
()).
slice
(
-
2
);
...
...
This diff is collapsed.
Click to expand it.
src/app/services/http/comment.service.ts
+
1
−
1
View file @
274e1010
...
...
@@ -70,7 +70,7 @@ export class CommentService extends BaseHttpService {
);
}
exportButtonClicked
(
state
:
boolean
)
{
exportButtonClicked
(
state
:
boolean
)
:
void
{
this
.
exportButton
.
next
(
state
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
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