Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
607f5392
Commit
607f5392
authored
Aug 29, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
count overload
parent
4bf1d410
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
TabCounter.tsx
ui/shared/Tabs/TabCounter.tsx
+1
-1
TabsWithScroll.pw.tsx
ui/shared/Tabs/TabsWithScroll.pw.tsx
+1
-1
TabsWithScroll.pw.tsx_default_with-counters-1.png
...shots__/TabsWithScroll.pw.tsx_default_with-counters-1.png
+0
-0
No files found.
ui/shared/Tabs/TabCounter.tsx
View file @
607f5392
...
@@ -29,7 +29,7 @@ const TasCounter = ({ count, parentClassName }: Props) => {
...
@@ -29,7 +29,7 @@ const TasCounter = ({ count, parentClassName }: Props) => {
transitionDuration=
"normal"
transitionDuration=
"normal"
transitionTimingFunction=
"ease"
transitionTimingFunction=
"ease"
>
>
{
count
}
{
count
>
50
?
'
50+
'
:
count
}
</
Text
>
</
Text
>
);
);
};
};
...
...
ui/shared/Tabs/TabsWithScroll.pw.tsx
View file @
607f5392
...
@@ -24,7 +24,7 @@ test('with counters', async({ mount }) => {
...
@@ -24,7 +24,7 @@ test('with counters', async({ mount }) => {
{
{
id
:
'
tab3
'
,
id
:
'
tab3
'
,
title
:
'
Third tab
'
,
title
:
'
Third tab
'
,
count
:
1
,
count
:
5
1
,
component
:
null
,
component
:
null
,
},
},
];
];
...
...
ui/shared/Tabs/__screenshots__/TabsWithScroll.pw.tsx_default_with-counters-1.png
View replaced file @
4bf1d410
View file @
607f5392
4.95 KB
|
W:
|
H:
5.48 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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