Просмотр исходного кода

Added new units to dropdown in singlestat options, need to add new unit selector to singlestat panel, #1331

Torkel Ödegaard 11 лет назад
Родитель
Сommit
1e9c51072a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/panels/singlestat/editor.html

+ 1 - 1
src/app/panels/singlestat/editor.html

@@ -39,7 +39,7 @@
     <h5>Formats</h5>
 		<div class="editor-option">
 			<label class="small">Unit format</label>
-			<select class="input-small" ng-model="panel.format" ng-options="f for f in ['none','short','bytes', 'bits', 'Bps', bps', 's', 'ms', 'µs', 'ns', 'percent', 'joule', 'watt', 'ev']" ng-change="render()"></select>
+			<select class="input-small" ng-model="panel.format" ng-options="f for f in ['none','short','bytes', 'kbytes', 'bits', 'Bps', 'bps', 's', 'ms', 'µs', 'ns', 'percent', 'joule', 'watt', 'ev']" ng-change="render()"></select>
 		</div>
 	</div>
 </div>