Skip to content

Commit

Permalink
"Play" an app works now
Browse files Browse the repository at this point in the history
For some reason just making the correct "async" fn call fixed it
  • Loading branch information
yazz committed Oct 26, 2023
1 parent 7246e3d commit 07b3935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/visifile_drivers/apps/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ disableHighlightEditableApp: {{ disableHighlightEditableApp }}
<button style='position:absolute;top:250px;left:0px;opacity:0.9;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);border-radius: 5px;margin-bottom:10px;margin-left:40px;padding:10px;font-size:20px;z-index:2147483647;'
class='btn btn-sm'
v-on:click='showProgressBar();$event.stopPropagation();downloadAndRunApp(item.ipfs_hash)'>
v-on:click='showProgressBar();$event.stopPropagation();(async function() {await downloadAndRunApp(item.ipfs_hash)})()'>
<img src='/driver_icons/play.png'
style='position:relative;max-width: 60px; left:0px; top: 0px;max-height: 40px;margin-left: auto;margin-right: auto;display: inline-block;'
>
Expand Down

0 comments on commit 07b3935

Please sign in to comment.