diff --git a/app/pos-modules.json b/app/pos-modules.json
index ffc3e58..1b69f3d 100644
--- a/app/pos-modules.json
+++ b/app/pos-modules.json
@@ -1,6 +1,6 @@
{
"modules": {
- "profile": "1.0.11",
+ "profile": "1.1.0",
"user": "3.0.7"
}
}
\ No newline at end of file
diff --git a/app/pos-modules.lock.json b/app/pos-modules.lock.json
index 9cc9065..c8cc72c 100644
--- a/app/pos-modules.lock.json
+++ b/app/pos-modules.lock.json
@@ -1,6 +1,6 @@
{
"modules": {
- "profile": "1.0.11",
+ "profile": "1.1.0",
"user": "3.0.7",
"components": "1.1.3",
"core": "1.5.5"
diff --git a/app/views/layouts/application.liquid b/app/views/layouts/application.liquid
index 8311b46..c586f80 100644
--- a/app/views/layouts/application.liquid
+++ b/app/views/layouts/application.liquid
@@ -1,7 +1,5 @@
-{% liquid
-
- function current_profile = 'modules/profile/queries/profiles/find', user_id: context.current_user.id, id: null, uuid: null, first_name: null, last_name: null
-
+{% liquid
+ assign current_profile = context.exports.current_profile
%}
@@ -23,7 +21,6 @@
-
{% comment %} custom js specific for this app {% endcomment %}
@@ -40,7 +37,7 @@
font-display: swap;
src: url('{{ 'font/SourceCodePro-VariableFont_wght.ttf' | asset_url }}') format('truetype');
}
-
+
@font-face {
font-family: 'Source Code Pro';
font-style: italic;
@@ -48,7 +45,7 @@
font-display: swap;
src: url('{{ 'SourceCodePro-Italic-VariableFont_wght.woff2' | asset_url }}') format('woff2');
}
-
+
@@ -57,8 +54,8 @@
{% if current_profile.id %}
{% render 'header', current_profile: current_profile %}
{% endif %}
-
+
{{ content_for_layout }}