dever 4 years ago
parent
commit
cb340ac8d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      front/templates/pc/device/alert/mul.html

+ 1 - 1
front/templates/pc/device/alert/mul.html

@@ -26,7 +26,7 @@
 	            {% if data['device'] and v['id'] in data['device'] %}
 	            {% for d in data['device'][v['id']] %}
 
-	            {%set type = Demeter.service('common').one('device_type', id=d['type_id'])%}
+	            {%set type = Demeter.service('common').one('setting_device_type', id=d['type_id'])%}
 	            <li {% if type['unit'] == 'button' %}class="device_type device_type_2"{% else %}class="device_type device_type_1"{% end %}><label><input type="checkbox" name="update_devices" ids="update_devices" value="{{d['id']}}" data-parent="{{v['id']}}" {% if 'devices' in data['info'] and d['id'] in data['info']['devices'] %}checked{% end %}><span>{{d['name']}}</span></label></li>
 	            {% end %}
 	            {% end %}