Substituindo a imagem de perfil por "profile" na navegação principal

Acredito que o widget responsável pelo item de navegação da imagem de perfil seja “user-dropdown”, então estou tentando modificá-lo, mas não consigo identificar onde a imagem está sendo atribuída. Aqui está o quanto consegui chegar.

Qualquer ajuda será muito apreciada.

<script type="text/discourse-plugin" version="0.8">
  const h = require("virtual-dom").h;
    api.reopenWidget("user-dropdown", {
      html(attrs) {
          console.log(attrs);
          return h(
            "a.icon",
            {
              attributes: {
                href: 'attrs.user.get("path")',
                "data-auto-route": true
              }
            },
            this.attach("header-notifications", attrs)
          );
        }
    });
</script>
1 curtida