fix(creator): 본인 채널 DM 확인을 추가한다
This commit is contained in:
@@ -26,9 +26,11 @@ final class CreatorChannelAudioViewModel: ObservableObject {
|
||||
@Published var isShowPopup = false
|
||||
|
||||
var displayThemes: [CreatorChannelAudioThemeItem] {
|
||||
let themes = response?.themes.map {
|
||||
guard let response else { return [] }
|
||||
|
||||
let themes = response.themes.map {
|
||||
CreatorChannelAudioThemeItem(themeId: $0.themeId, themeName: $0.themeName)
|
||||
} ?? []
|
||||
}
|
||||
|
||||
return [CreatorChannelAudioThemeItem.all] + themes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user