mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(editor): Implement simple view for templates experiment (no-changelog) (#6637)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div v-else>
|
||||
<n8n-heading :bold="true" size="small">{{ workflow.name }}</n8n-heading>
|
||||
<div :class="$style.content">
|
||||
<div :class="$style.content" v-if="!simpleView">
|
||||
<span v-if="workflow.totalViews">
|
||||
<n8n-text size="small" color="text-light">
|
||||
<font-awesome-icon icon="eye" />
|
||||
@@ -72,6 +72,10 @@ export default defineComponent({
|
||||
loading: {
|
||||
type: Boolean,
|
||||
},
|
||||
simpleView: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
components: {
|
||||
TimeAgo,
|
||||
@@ -122,6 +126,7 @@ export default defineComponent({
|
||||
background-color: var(--color-background-xlight);
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 var(--spacing-s) var(--spacing-s) var(--spacing-s);
|
||||
background-color: var(--color-background-xlight);
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user