Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85595786
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
945 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/App.html b/src/App.html
index 1b06768471..f80797e1f2 100644
--- a/src/App.html
+++ b/src/App.html
@@ -1,14 +1,14 @@
-<div id="app">
+<div id="app" v-bind:style="style">
<nav class='container'>
<div class='item'>
<a route-to='friends-timeline' href="#">Pleroma FE</a>
</div>
</nav>
<div class="container" id="content">
<sidebar>
<user-panel></user-panel>
<nav-panel></nav-panel>
</sidebar>
<router-view></router-view>
</div>
</div>
diff --git a/src/App.js b/src/App.js
index 48284b4cec..3c67756673 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,8 +1,12 @@
import UserPanel from './components/user_panel/user_panel.vue'
export default {
name: 'app',
components: {
UserPanel
+ },
+ computed: {
+ user () { return this.$store.state.users.currentUser || {} },
+ style () { return { 'background-image': `url(${this.user.background_image})` } }
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jul 20, 4:33 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1695433
Default Alt Text
(945 B)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment