Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/components/cards/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<h4 v-if="editingTitle === 0" key="title-view" dir="auto">
<span class="dragDisabled" contenteditable="false">{{ displayTitle }}</span>
</h4>
<div v-if="editingTitle === 0 && card.owner && card.createdAt" class="card-meta">
Created by {{ card.owner.displayname }} on {{ formattedCreatedAt }}
</div>
<h4 v-if="editingTitle >= 1"
key="title-edit"
dir="auto"
Expand Down Expand Up @@ -126,7 +129,12 @@
editingTitle: TITLE_EDITING_STATE.OFF,
}
},
computed: {
computed: {

Check failure on line 132 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 1 tab but found 2
formattedCreatedAt() {

Check failure on line 133 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 2 tabs but found 3
if (!this.card.createdAt) return ''

Check failure on line 134 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 3 tabs but found 4
const date = new Date(this.card.createdAt * 1000)

Check failure on line 135 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 3 tabs but found 4
return date.toLocaleDateString() + ' ' + date.toLocaleTimeString()

Check failure on line 136 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 3 tabs but found 4
},

Check failure on line 137 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected indentation of 2 tabs but found 3
...mapState({
compactMode: state => state.compactMode,
showArchived: state => state.showArchived,
Expand Down
Loading