mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
add feedback button in sidebar
This commit is contained in:
9
resources/js/utils/feedback.ts
Normal file
9
resources/js/utils/feedback.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export function openFeedback(): void {
|
||||
if (
|
||||
typeof window !== 'undefined' &&
|
||||
'showChatWindow' in window &&
|
||||
typeof window.showChatWindow === 'function'
|
||||
) {
|
||||
window.showChatWindow();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user