FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Web Application
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Information Services
DevOps
Information Asset Register
Web Application
Commits
8be3e1e5
Commit
8be3e1e5
authored
5 years ago
by
Blake Dust
Browse files
Options
Downloads
Patches
Plain Diff
Stops CircularProgress when there are no more assets to load
parent
a859d04d
No related branches found
Branches containing commit
No related tags found
1 merge request
!20
Stops CircularProgress when there are no more assets to load
Pipeline
#26967
passed with warnings
5 years ago
Stage: build
Stage: test
Stage: dast
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui/frontend/src/pages/AssetListPage.tsx
+2
-2
2 additions, 2 deletions
ui/frontend/src/pages/AssetListPage.tsx
with
2 additions
and
2 deletions
ui/frontend/src/pages/AssetListPage.tsx
+
2
−
2
View file @
8be3e1e5
...
...
@@ -20,7 +20,7 @@ export const AssetListPage: React.FunctionComponent = () => {
const
{
instId
}
=
useParams
()
const
nameLookup
=
useLookupInstName
();
const
{
setDepartment
,
isLoading
,
setOrdering
,
nextPage
,
assets
,
assetIds
,
query
,
deleteAsset
,
dumpAssets
setDepartment
,
isLoading
,
setOrdering
,
nextPage
,
assets
,
assetIds
,
query
,
deleteAsset
,
dumpAssets
,
next
}
=
useAssets
()
// Whether to confirm deletion (by id)
...
...
@@ -61,7 +61,7 @@ export const AssetListPage: React.FunctionComponent = () => {
/>
<
AssetTableBody
summaries
=
{
summaries
}
isLoading
=
{
isLoading
}
onDelete
=
{
(
id
:
string
)
=>
{
setIdToDelete
(
id
);
}
}
/>
</
Table
>
{
(
assetIds
.
length
>
0
)
&&
<
GetMoreAssets
onNextPage
=
{
nextPage
}
isLoading
=
{
isLoading
}
/>
}
{
(
assetIds
.
length
>
0
)
&&
(
next
!==
null
)
&&
<
GetMoreAssets
onNextPage
=
{
nextPage
}
isLoading
=
{
isLoading
}
/>
}
</
Box
>
<
DeleteConfirmation
open
=
{
idToDelete
!==
null
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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