mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-13 14:55:58 +10:00
change checkbox name from id to database name
This commit is contained in:
@@ -274,7 +274,7 @@
|
||||
var key = dataSourceIdPrefix + obj.id;
|
||||
scope.dataSourceChartCheckedKeys[key] = index < 30 ? true : false;
|
||||
return {
|
||||
display: index,
|
||||
display: obj.databaseName ? obj.databaseName : obj.id,
|
||||
value: key
|
||||
};
|
||||
});
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
<div class="wrapper">
|
||||
<ul>
|
||||
<li ng-repeat="key in dataSourceChartKeys">
|
||||
<input type="checkbox" id="checkbox_{{key.display}}" value="{{key.value}}" ng-checked="checkChecked(key.value)"><label for="checkbox_{{key.display}}">{{key.display}}</label>
|
||||
<input type="checkbox" id="checkbox_{{key.value}}" value="{{key.value}}" ng-checked="checkChecked(key.value)"><label for="checkbox_{{key.value}}">{{key.display}}</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -291,7 +291,6 @@
|
||||
}
|
||||
#data-source-chart .type-select-layer li {
|
||||
display: inline-block;
|
||||
width: 48px;
|
||||
list-style: none;
|
||||
padding: 4px 5px 4px 3px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user