Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Cursus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
AlekSIS®
Onboarding
AlekSIS-App-Cursus
Commits
c094c718
Commit
c094c718
authored
1 year ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Pass attrs and event listeners for subject chip to the base v-chip
parent
7fc180b4
Branches
attrs-and-listeners-in-subject-chip
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!35
Pass attrs and event listeners for subject chip to the base v-chip
Pipeline
#186207
failed
10 months ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/cursus/frontend/components/SubjectChip.vue
+7
-1
7 additions, 1 deletion
aleksis/apps/cursus/frontend/components/SubjectChip.vue
with
7 additions
and
1 deletion
aleksis/apps/cursus/frontend/components/SubjectChip.vue
+
7
−
1
View file @
c094c718
<
script
>
export
default
{
name
:
"
SubjectChip
"
,
extends
:
"
v-chip
"
,
props
:
{
subject
:
{
type
:
Object
,
...
...
@@ -21,7 +22,12 @@ export default {
</
script
>
<
template
>
<v-chip
:color=
"subject.colourBg"
:text-color=
"subject.colourFg"
>
<v-chip
v-bind=
"$attrs"
v-on=
"$listeners"
:color=
"subject.colourBg"
:text-color=
"subject.colourFg"
>
{{
shortName
?
subject
.
shortName
:
subject
.
name
}}
<v-icon
right
v-if=
"appendIcon"
>
{{
appendIcon
}}
</v-icon>
</v-chip>
...
...
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