forked from MapComplete/MapComplete
Studio: fix failing detection, add error message after reddit post
This commit is contained in:
parent
7677788a02
commit
bd58adc373
2 changed files with 6 additions and 2 deletions
|
@ -170,8 +170,12 @@ export class Tag extends TagsFilter {
|
|||
return <any>this
|
||||
}
|
||||
|
||||
/**
|
||||
* new Tag("panoramax", "").isNegative() // => true
|
||||
* new Tag("x","y").isNegative() // => false
|
||||
*/
|
||||
isNegative(): boolean {
|
||||
return false
|
||||
return this.value === ""
|
||||
}
|
||||
|
||||
visit(f: (tagsFilter: TagsFilter) => void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue