Bump version to 2.0.0.6 and update manifest for new themes and improvements; add mobile symbol count input and error handling in config loading
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 53s
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 53s
This commit is contained in:
@@ -958,6 +958,11 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel" for="UnderwaterSymbolCountMobile">Symbol Count (Mobile)</label>
|
||||
<input is="emby-input" type="number" id="UnderwaterSymbolCountMobile" name="UnderwaterSymbolCountMobile" />
|
||||
<div class="fieldDescription">Amount of sea creatures shown on mobile. Minimum 0.</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel" for="UnderwaterSeaweedCount">Seaweed Count</label>
|
||||
<input is="emby-input" type="number" id="UnderwaterSeaweedCount" name="UnderwaterSeaweedCount" />
|
||||
@@ -1595,7 +1600,7 @@
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getPluginConfiguration(SeasonalsConfigPage.pluginUniqueId).then(function (config) {
|
||||
|
||||
try {
|
||||
document.querySelector('#SeasonalsIsEnabled').checked = config.IsEnabled;
|
||||
document.querySelector('#SeasonalsSelectedSeason').value = config.SelectedSeason;
|
||||
document.querySelector('#SeasonalsAutomateSeasonSelection').checked = config.AutomateSeasonSelection;
|
||||
@@ -1895,7 +1900,11 @@
|
||||
document.querySelector('#EidLanternCount').value = config.Eid.LanternCount !== undefined ? config.Eid.LanternCount : 8;
|
||||
document.querySelector('#EidLanternCountMobile').value = config.Eid.LanternCountMobile !== undefined ? config.Eid.LanternCountMobile : 3;
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
} catch(e) {
|
||||
console.error('[Seasonals] Error loading config:', e);
|
||||
} finally {
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user