Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2d673877
Commit
2d673877
authored
Nov 12, 2021
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace GlTable with GlTablelite for time-tracking-table
parent
1b58bdd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/sidebar/components/time_tracking/report.vue
...s/javascripts/sidebar/components/time_tracking/report.vue
+4
-4
No files found.
app/assets/javascripts/sidebar/components/time_tracking/report.vue
View file @
2d673877
<
script
>
import
{
GlLoadingIcon
,
GlTable
}
from
'
@gitlab/ui
'
;
import
{
GlLoadingIcon
,
GlTable
Lite
}
from
'
@gitlab/ui
'
;
import
createFlash
from
'
~/flash
'
;
import
{
TYPE_ISSUE
,
TYPE_MERGE_REQUEST
}
from
'
~/graphql_shared/constants
'
;
import
{
convertToGraphQLId
}
from
'
~/graphql_shared/utils
'
;
...
...
@@ -12,7 +12,7 @@ const TIME_DATE_FORMAT = 'mmmm d, yyyy, HH:MM ("UTC:" o)';
export
default
{
components
:
{
GlLoadingIcon
,
GlTable
,
GlTable
Lite
,
},
inject
:
[
'
issuableType
'
],
props
:
{
...
...
@@ -89,7 +89,7 @@ export default {
<
template
>
<div>
<div
v-if=
"isLoading"
><gl-loading-icon
size=
"md"
/></div>
<gl-table
v-else
:items=
"report"
:fields=
"$options.fields"
foot-clone
>
<gl-table
-lite
v-else
:items=
"report"
:fields=
"$options.fields"
foot-clone
>
<template
#cell(spentAt)=
"
{ item: { spentAt } }">
<div>
{{
formatDate
(
spentAt
)
}}
</div>
</
template
>
...
...
@@ -111,6 +111,6 @@ export default {
<div>
{{
getSummary
(
summary
,
note
)
}}
</div>
</
template
>
<
template
#foot
(
note
)
>
</
template
>
</gl-table>
</gl-table
-lite
>
</div>
</template>
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