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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
frontend
apps
UI
Commits
e067b0c1
Commit
e067b0c1
authored
2 years ago
by
Ashish Shetty
Committed by
Benedikt Heinrichs
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix: License can be deselected
parent
b6b02c7f
No related branches found
No related tags found
2 merge requests
!170
Release: Sprint/2023 01 :robot:
,
!157
Fix: License can be deselected
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/resource/components/create-resource/General.vue
+4
-2
4 additions, 2 deletions
src/modules/resource/components/create-resource/General.vue
with
4 additions
and
2 deletions
src/modules/resource/components/create-resource/General.vue
+
4
−
2
View file @
e067b0c1
...
...
@@ -214,7 +214,7 @@
text
-
field
=
"
displayName
"
value
-
field
=
"
id
"
:
state
=
"
v$.resourceForm.license.$dirty
v$.resourceForm.license.$dirty
&& resourceForm.license
? !v$.resourceForm.license.$error
: null
"
...
...
@@ -223,7 +223,7 @@
@
change
=
"
setLicense(selectedLicense)
"
>
<
template
#first
>
<
option
:
value
=
"
null
"
disabled
>
<
option
:
value
=
"
null
"
>
{{
$t
(
"
form.resource.resourceLicenseSelect
"
)
}}
<
/option
>
<
/template
>
...
...
@@ -486,6 +486,8 @@ export default defineComponent({
)
as
LicenseObject
;
this
.
resourceForm
.
license
=
license
;
this
.
v$
.
resourceForm
.
license
?.
$touch
();
}
else
if
(
!
id
)
{
this
.
resourceForm
.
license
=
null
;
}
}
,
...
...
This diff is collapsed.
Click to expand it.
CoscineBot
@CoscineBot
mentioned in commit
6c9557af
·
2 years ago
mentioned in commit
6c9557af
mentioned in commit 6c9557af35b70f5ffbc4272df1d7d9ac72b54f73
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