Skip to content

Commit

Permalink
fix: šŸ› šŸ› Fixed issue where Emby/Plex would error on creating an invite
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsRepos committed Apr 22, 2024
1 parent 2adf58f commit eb54d32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,15 @@ export default defineComponent({
return this.$filter("toMinutes", this.invitationData.customDuration, true);
},
checkboxOptions() {
if (!this.checkboxes[this.settings.server_type]) return [];
return Object.keys(this.checkboxes[this.settings.server_type]).map((key) => {
return this.checkboxes[this.settings.server_type][key];
});
},
selectsOptions() {
if (!this.selects[this.settings.server_type]) return [];
return Object.keys(this.selects[this.settings.server_type]).map((key) => {
return this.selects[this.settings.server_type];
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,15 @@ export default defineComponent({
return new Date(this.invitation.expires).toLocaleString();
},
checkboxOptions() {
if (!this.checkboxes[this.settings.server_type]) return [];
return Object.keys(this.checkboxes[this.settings.server_type]).map((key) => {
return this.checkboxes[this.settings.server_type];
});
},
selectsOptions() {
if (!this.selects[this.settings.server_type]) return [];
return Object.keys(this.selects[this.settings.server_type]).map((key) => {
return this.selects[this.settings.server_type];
});
Expand Down

0 comments on commit eb54d32

Please sign in to comment.