瀏覽代碼

asignacion de url para el icono

EmilianoOrtiz 1 周之前
父節點
當前提交
b9c1ed8678
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/app/components/template/template.component.ts

+ 4 - 0
src/app/components/template/template.component.ts

@@ -1040,6 +1040,10 @@ export class TemplateComponent implements OnInit {
             1
           )
         );
+
+        if (!response.error) {
+          notification.ICON_URL = response.response.public_uri;
+        }
       }
     } catch (error) {
       // Si hay error, no se asigna ICON_URL y se usa el icono por defecto