mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
adjust service marketplace button for installation source relevance (#1571)
* adjust service marketplace button for installation source relevance * cleanup * show marketplace name instead of url; cleanup from PR feedback * fix spacing * further cleanup
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export async function copyToClipboard (str: string): Promise<boolean> {
|
||||
export async function copyToClipboard(str: string): Promise<boolean> {
|
||||
if (window.isSecureContext) {
|
||||
return navigator.clipboard.writeText(str)
|
||||
return navigator.clipboard
|
||||
.writeText(str)
|
||||
.then(() => {
|
||||
return true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user