Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UI
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Coscine
frontend
apps
UI
Commits
9b7e6ddc
Commit
9b7e6ddc
authored
11 months ago
by
Benedikt Heinrichs
Committed by
Petar Hristov
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Allow same file selection after removal from list
parent
20eb8207
No related branches found
No related tags found
3 merge requests
!370
merge dev into main
,
!369
Chore 2.12.3
,
!367
Fix: Allow same file selection after removal from list
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/resource/pages/ResourcePage.vue
+14
-1
14 additions, 1 deletion
src/modules/resource/pages/ResourcePage.vue
with
14 additions
and
1 deletion
src/modules/resource/pages/ResourcePage.vue
+
14
−
1
View file @
9b7e6ddc
...
...
@@ -421,13 +421,26 @@ export default defineComponent({
lastModified
:
`
${
file
.
lastModified
}
`
,
metadata
:
{
[
version
]:
factory
.
dataset
()
as
unknown
as
Dataset
},
};
this
.
fileListUpload
.
push
(
fileInformation
);
// Prevent duplicates
if
(
!
this
.
fileListUpload
.
some
(
(
entry
)
=>
entry
.
path
===
fileInformation
.
path
,
)
)
{
this
.
fileListUpload
.
push
(
fileInformation
);
}
}
// Clear selection in files view table
(
(
this
.
$refs
.
filesView
as
Vue
).
$refs
.
adaptTable
as
BTable
).
clearSelected
();
// Clear form-file inputs
(
this
.
$refs
.
fileTrigger
as
BFormFile
).
reset
();
(
this
.
$refs
.
folderTrigger
as
BFormFile
).
reset
();
this
.
showDetail
=
false
;
},
...
...
This diff is collapsed.
Click to expand it.
CoscineBot
@CoscineBot
mentioned in commit
1b96ef61
·
11 months ago
mentioned in commit
1b96ef61
mentioned in commit 1b96ef61930b8b4066cadfa58b0ce6d5e4a4eaaa
Toggle commit list
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