Skip to main content
Component Name: AdminSettings.razor
Version: 1.0.0
Admin Settings Screenshot

Dependencies

Services:
AdminSettingsService, UserService, SermonCollectionService, Snackbar

Variables

Lifecycle Methods

Runtime Methods

UploadAppLogo(IBrowserFile)

Handles file picking, uploading, & storing the relative URL of a new app logo.

RemoveOpeningPrompt(int)

Removes a Sermon Search opening prompt at a specified index in _openingPrompts

AddOpeningPrompt()

Adds a Sermon Search opening prompt at the end of _openingPrompts

SaveSettings()

Uses AdminSettingsService to save all admin settings in Azure Cosmos DB, as they are currently set.