Transfers of stacks and using ndarrays

This commit is contained in:
Richard 2021-05-11 21:43:33 +01:00
parent 782ff05477
commit b0f26f1b1e
3 changed files with 168 additions and 9 deletions

View file

@ -40,6 +40,29 @@
</div>
<div class="uk-card-footer uk-padding-small">
<button
v-if="openScanInImjoyMenuItemsPresent"
class="uk-icon"
type="button"
>
<img
style="width:25px;"
src="https://imjoy.io/static/img/imjoy-icon.svg"
/>
</button>
<div uk-dropdown="pos: top-center">
<ul class="uk-nav uk-dropdown-nav">
<li v-for="item in openScanInImjoyMenuItems" :key="item.name">
<a
href="#"
class="uk-text-emphasis"
@click="item.callback(name, allURLs)"
><i class="material-icons">launch</i>{{ item.title }}</a
>
</li>
</ul>
</div>
&nbsp;
<span
v-for="tag in tags"
:key="tag"
@ -53,6 +76,7 @@
<script>
import axios from "axios";
import { mapState } from "vuex";
// Export main app
export default {
@ -100,7 +124,11 @@ export default {
urls.push(capture.links.self.href);
}
return urls;
}
},
openScanInImjoyMenuItemsPresent: function() {
return this.openScanInImjoyMenuItems.length > 0;
},
...mapState(["openScanInImjoyMenuItems"])
},
methods: {