Skip to content

Commit

Permalink
fix(pi): settings don't get auto-populated
Browse files Browse the repository at this point in the history
fix #115
  • Loading branch information
XeroxDev committed Jun 6, 2024
1 parent 74a94c8 commit 7e4d781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions property-inspector.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ <h3 class="error-title">Something went wrong</h3>
<hr>
<div class="sdpi-item">
<div class="sdpi-item-label host-label">Host</div>
<input class="sdpi-item-value" type="text" id="host">
<input class="sdpi-item-value" type="text" id="host" value="127.0.0.1">
</div>
<div class="sdpi-item">
<div class="sdpi-item-label port-label">Port</div>
<input class="sdpi-item-value" type="number" id="port">
<input class="sdpi-item-value" type="number" id="port" value="9863">
</div>
<div class="sdpi-item">
<div class="sdpi-item-label action-label">Action</div>
Expand Down
1 change: 1 addition & 0 deletions src/pis/play-pause.pi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class PlayPausePi extends PisAbstract {
}
}
pi.requestSettings();
pi.requestGlobalSettings();
}

public newGlobalSettingsReceived(): void {
Expand Down

0 comments on commit 7e4d781

Please sign in to comment.