mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Fix blank state for between (#3883)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
d9dc27c2b8
commit
5a65b8689b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
isBlank() {
|
||||
return ((this.operator !== 'between' || !this.isPreset) && (!this.value || !this.value[this.timeType])) ||
|
||||
return ((this.operator !== 'between' && !this.isPreset) && (!this.value || !this.value[this.timeType])) ||
|
||||
(this.operator === 'between' && (!this.value || (!this.value[`start_${this.timeType}`] || !this.value[`end_${this.timeType}`]))) ||
|
||||
(this.filter.column.id === 'archived_on' && $('.repository-show').hasClass('active'));
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue