Skip to content

Commit

Permalink
fix: empty fields rendering in table
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Apr 6, 2021
1 parent 1ce84e9 commit 3f97391
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='unicms-editorial-board',
version='0.4.6',
version='0.4.7',

packages=[PKG_NAME],
package_dir={PKG_NAME: f"{SRC_FOLDER}/{PKG_NAME}"},
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
self.__precacheManifest = [
{
"revision": "90cd5ad4a48e1f15606a",
"revision": "9359d5ebdcb9a9c157a3",
"url": "/static/unicms_editorial_board_vue/css/app.ff4279f4.css"
},
{
"revision": "90cd5ad4a48e1f15606a",
"url": "/static/unicms_editorial_board_vue/js/app.cb4972d4.js"
"revision": "9359d5ebdcb9a9c157a3",
"url": "/static/unicms_editorial_board_vue/js/app.7f265af9.js"
},
{
"revision": "10975f810c997e9e6aa8",
Expand All @@ -16,7 +16,7 @@ self.__precacheManifest = [
"url": "/static/unicms_editorial_board_vue/js/chunk-vendors.20e928aa.js"
},
{
"revision": "be366c3d0011a17c70d29d6e830b1045",
"revision": "722920586474ec8a1b9235c2439a085f",
"url": "/static/unicms_editorial_board_vue/index.html"
},
{
Expand All @@ -31,14 +31,14 @@ self.__precacheManifest = [
"revision": "a9615bac158705203261e8348f574cc8",
"url": "/static/unicms_editorial_board_vue/img/default-avatar.png"
},
{
"revision": "be74132f42ae1d3502f9a9b9fff68ac1",
"url": "/static/unicms_editorial_board_vue/Dashboard.PNG"
},
{
"revision": "a9615bac158705203261e8348f574cc8",
"url": "/static/unicms_editorial_board_vue/img/faces/face-0.jpg"
},
{
"revision": "be74132f42ae1d3502f9a9b9fff68ac1",
"url": "/static/unicms_editorial_board_vue/Dashboard.PNG"
},
{
"revision": "99e58416b89637502b40ac8350eed85a",
"url": "/static/unicms_editorial_board_vue/img/faces/face-1.jpg"
Expand All @@ -51,14 +51,14 @@ self.__precacheManifest = [
"revision": "ce7a6b79aa55041f7ae36f6ce22231fe",
"url": "/static/unicms_editorial_board_vue/img/faces/face-3.jpg"
},
{
"revision": "0b68eb8f1cde1fc9987a9196df05b96a",
"url": "/static/unicms_editorial_board_vue/img/faces/face-4.jpg"
},
{
"revision": "4ab22eca4053c14a34e4bdb6390deae9",
"url": "/static/unicms_editorial_board_vue/img/faces/face-5.jpg"
},
{
"revision": "0b68eb8f1cde1fc9987a9196df05b96a",
"url": "/static/unicms_editorial_board_vue/img/faces/face-4.jpg"
},
{
"revision": "4b87e628f4ef9988718860890b2a682f",
"url": "/static/unicms_editorial_board_vue/img/faces/face-6.jpg"
Expand All @@ -67,22 +67,22 @@ self.__precacheManifest = [
"revision": "bf1684a30a86ba1b222aab3acff16356",
"url": "/static/unicms_editorial_board_vue/img/faces/face-7.jpg"
},
{
"revision": "43b98081492ac3bcb4a1fac6cf709403",
"url": "/static/unicms_editorial_board_vue/img/faces/tim_vector.jpe"
},
{
"revision": "996d8248f580f8e26e6c45c67da9b5a6",
"url": "/static/unicms_editorial_board_vue/img/favicon.png"
},
{
"revision": "0a337c37f03c0462996b7b03758fa72b",
"url": "/static/unicms_editorial_board_vue/img/loading-bubbles.svg"
"revision": "43b98081492ac3bcb4a1fac6cf709403",
"url": "/static/unicms_editorial_board_vue/img/faces/tim_vector.jpe"
},
{
"revision": "d27fbc90c2e644dfdc9765640dc713b9",
"url": "/static/unicms_editorial_board_vue/img/mask.png"
},
{
"revision": "0a337c37f03c0462996b7b03758fa72b",
"url": "/static/unicms_editorial_board_vue/img/loading-bubbles.svg"
},
{
"revision": "f575a04ebbb31b5798a4c54783e745a2",
"url": "/static/unicms_editorial_board_vue/img/new_logo.png"
Expand All @@ -103,14 +103,14 @@ self.__precacheManifest = [
"revision": "897b4cf909210560a84398d36da51983",
"url": "/static/unicms_editorial_board_vue/img/sidebar-4.jpg"
},
{
"revision": "44bf13a71a4db6e15913fe8af9296711",
"url": "/static/unicms_editorial_board_vue/img/tim_80x80.png"
},
{
"revision": "9ebea76ee1225f00d882b21547a7b49f",
"url": "/static/unicms_editorial_board_vue/img/sidebar-5.jpg"
},
{
"revision": "44bf13a71a4db6e15913fe8af9296711",
"url": "/static/unicms_editorial_board_vue/img/tim_80x80.png"
},
{
"revision": "c2a605fbc0e687b2e1b4b90a7c445cdd",
"url": "/static/unicms_editorial_board_vue/img/vue-logo.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts(
"/static/unicms_editorial_board_vue/precache-manifest.27f3750eeae7ce8898cc4562d6bde03c.js"
"/static/unicms_editorial_board_vue/precache-manifest.c698fa42c950c41a8c1fb034688595ca.js"
);

workbox.core.setCacheNameDetails({prefix: "vue-light-bootstrap-dashboard"});
Expand Down
2 changes: 1 addition & 1 deletion src/unicms_editorial_board/templates/board.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><link rel="apple-touch-icon" sizes="76x76" href="/static/unicms_editorial_board_vue/apple-icon.png"><!--[if IE]><link rel="icon" type="image/png" sizes="96x96" href="/static/unicms_editorial_board_vue/favicon.png"><![endif]--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>uniCMS - Editorial Board</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.ff4279f4.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.7c366b9d.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/js/app.cb4972d4.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/js/chunk-vendors.20e928aa.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.7c366b9d.css" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.ff4279f4.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/static/unicms_editorial_board_vue/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/static/unicms_editorial_board_vue/img/icons/favicon-16x16.png"><link rel="manifest" href="/static/unicms_editorial_board_vue/manifest.json"><meta name="theme-color" content="#344675"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="#344675"><meta name="apple-mobile-web-app-title" content="uniCMS - Unical Editorial Board"><link rel="apple-touch-icon" href="/static/unicms_editorial_board_vue/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/static/unicms_editorial_board_vue/img/icons/safari-pinned-tab.svg" color="#344675"><meta name="msapplication-TileImage" content="/static/unicms_editorial_board_vue/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#344675"></head><body><div id="app"></div><script src="/static/unicms_editorial_board_vue/js/chunk-vendors.20e928aa.js"></script><script src="/static/unicms_editorial_board_vue/js/app.cb4972d4.js"></script></body></html>
<!DOCTYPE html><html><head><meta charset="utf-8"><link rel="apple-touch-icon" sizes="76x76" href="/static/unicms_editorial_board_vue/apple-icon.png"><!--[if IE]><link rel="icon" type="image/png" sizes="96x96" href="/static/unicms_editorial_board_vue/favicon.png"><![endif]--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><title>uniCMS - Editorial Board</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"><link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.ff4279f4.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.7c366b9d.css" rel="preload" as="style"><link href="/static/unicms_editorial_board_vue/js/app.7f265af9.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/js/chunk-vendors.20e928aa.js" rel="preload" as="script"><link href="/static/unicms_editorial_board_vue/css/chunk-vendors.7c366b9d.css" rel="stylesheet"><link href="/static/unicms_editorial_board_vue/css/app.ff4279f4.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/static/unicms_editorial_board_vue/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/static/unicms_editorial_board_vue/img/icons/favicon-16x16.png"><link rel="manifest" href="/static/unicms_editorial_board_vue/manifest.json"><meta name="theme-color" content="#344675"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="#344675"><meta name="apple-mobile-web-app-title" content="uniCMS - Unical Editorial Board"><link rel="apple-touch-icon" href="/static/unicms_editorial_board_vue/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/static/unicms_editorial_board_vue/img/icons/safari-pinned-tab.svg" color="#344675"><meta name="msapplication-TileImage" content="/static/unicms_editorial_board_vue/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#344675"></head><body><div id="app"></div><script src="/static/unicms_editorial_board_vue/js/chunk-vendors.20e928aa.js"></script><script src="/static/unicms_editorial_board_vue/js/app.7f265af9.js"></script></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -104,26 +104,26 @@

<template #cell()="data">
<a :href="data.value"
v-if="files && isFile(data.field.key)">
v-if="files && isFile(data.field.key) && data.value">
<b-icon
icon="file-text"
style="cursor: pointer">
</b-icon>
</a>
<b-img
v-else-if="images && isImage(data.field.key)"
v-else-if="images && isImage(data.field.key) && data.value"
:src="data.value.file || data.value"
fluid
alt="Responsive image">
</b-img>
<span
v-else-if="arrays && isArray(data.field.key)">
v-else-if="arrays && isArray(data.field.key) && data.value">
<div v-for="obj in data.value">
{{ obj[getArrayMap(data.field.key)] }}
</div>
</span>
<span v-else-if="dates && isDate(data.field.key)">
{{ $date_formatter(data.value) || '-' }}
<span v-else-if="dates && isDate(data.field.key) && data.value">
{{ $date_formatter(data.value)}}
</span>
<span v-else>{{ data.value || '-' }}</span>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ const routes = [
}
},
{
path: 'media-collections-new',
path: 'media-collections/new',
name: 'MediaCollectionNew',
component: MediaCollectionNew,
meta: {
Expand Down

0 comments on commit 3f97391

Please sign in to comment.