commit | 4a6d57102740ae7070565afb764e08e34efa0786 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Thu Jan 19 15:54:40 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Thu Jan 19 15:54:40 2023 -0500 |
tree | eca56248eaffee1d57e394e7ee77a48d76393f6e | |
parent | 6055457fb5746dc995e80ec6a3959f9971f7cdde [diff] [blame] |
intermediate update
diff --git a/src/commands/settings/commands.ts b/src/commands/settings/commands.ts index 25034b2..5cafcc5 100644 --- a/src/commands/settings/commands.ts +++ b/src/commands/settings/commands.ts
@@ -191,7 +191,7 @@ } catch (e) { continue; } - if (!out) continue + if (!out || out.isButton()) continue const buttonText = out.fields.getTextInputValue("name"); const buttonLink = out.fields.getTextInputValue("url").replace(/{id}/gi, "{id}"); const current = chosen;