mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-08-18 03:57:06 +08:00
refactor: remove CursorAccountCard component and related localization entries
- Deleted the CursorAccountCard.vue component, which handled user account login and status. - Removed associated localization entries from catalog.json and various language files. - Updated Home.vue to eliminate references to the removed component. - Refactored clientApi.js to remove unused account-related API functions.
This commit is contained in:
@@ -32,3 +32,11 @@ func NewModule(historyRoot string, channelService modeladapter.ChannelResolver)
|
||||
UploadServiceHandler: newUploadServiceHandler(service),
|
||||
}
|
||||
}
|
||||
|
||||
func (module *Module) HandlesAIPath(path string) bool {
|
||||
if module == nil || module.AiHandler == nil {
|
||||
return false
|
||||
}
|
||||
handler, ok := module.AiHandler.(interface{ HandlesPath(string) bool })
|
||||
return ok && handler.HandlesPath(path)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user