mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
...
This commit is contained in:
@@ -88,7 +88,7 @@ export default {
|
||||
created() {
|
||||
if (this.args) {
|
||||
this.keywords = this.args.keywords || [];
|
||||
if (this.args.keep) this.mode = this.args.keep ? "IN" : "OUT";
|
||||
if (typeof this.args.keep !== 'undefined') this.mode = this.args.keep ? "IN" : "OUT";
|
||||
else this.mode = "IN";
|
||||
}
|
||||
},
|
||||
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
created() {
|
||||
if (this.args) {
|
||||
this.regexps = this.args.regex || [];
|
||||
if (this.args.keep) this.mode = this.args.keep ? "IN" : "OUT";
|
||||
if (typeof this.args.keep !== 'undefined') this.mode = this.args.keep ? "IN" : "OUT";
|
||||
else this.mode = "IN";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user