✨ Switched from settings.mode to settings.complete
This commit is contained in:
parent
d15515d73c
commit
7c86c6354b
4 changed files with 8 additions and 7 deletions
|
@ -21,7 +21,7 @@ export default function Pattern(config = false) {
|
|||
|
||||
// Data containers
|
||||
this.settings = {
|
||||
mode: "draft",
|
||||
complete: true,
|
||||
idPrefix: "fs-",
|
||||
locale: "en",
|
||||
units: "metric",
|
||||
|
@ -97,7 +97,7 @@ Pattern.prototype.sample = function() {
|
|||
|
||||
Pattern.prototype.sampleParts = function() {
|
||||
let parts = {};
|
||||
this.settings.mode = "sample";
|
||||
this.settings.quick = true;
|
||||
this.settings.paperless = false;
|
||||
this.draft();
|
||||
for (let i in this.parts) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue