Skip to content

Commit 2fef553

Browse files
Merge pull request #3210 from Countly/feat/label-subheading-selectApp
[SER - 63]subheading and label prop in the select app component
2 parents 5724d85 + f1fe986 commit 2fef553

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

plugins/dashboards/frontend/public/javascripts/countly.helpers.js

+8
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,14 @@
559559
var SourceAppsComponent = countlyVue.views.create({
560560
template: CV.T('/dashboards/templates/helpers/drawer/source-apps.html'),
561561
props: {
562+
subheading: {
563+
type: String,
564+
required: false
565+
},
566+
label: {
567+
type: String,
568+
required: false
569+
},
562570
multipleLimit: {
563571
type: Number,
564572
default: 4

plugins/dashboards/frontend/public/templates/helpers/drawer/source-apps.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<cly-form-field
22
name="apps"
33
rules="required"
4-
:label="i18nM('dashboards.source-apps')">
4+
:subheading="subheading ? subheading: undefined"
5+
:label="label ? label: i18nM('dashboards.source-apps')">
56
<cly-app-select
67
:key="rerender"
78
style="width: 100%;"

0 commit comments

Comments
 (0)