Re: #254 - Adds new tab functionality to Workspace

This commit is contained in:
Alicia Sykes
2021-09-29 20:39:39 +01:00
parent bc100b8143
commit 0bfca16dda
4 changed files with 13 additions and 7 deletions

View File

@@ -37,8 +37,12 @@ export default {
MultiTaskingWebComtent,
},
methods: {
launchApp(url) {
this.url = url;
launchApp(options) {
if (options.target === 'newtab') {
window.open(options.url, '_blank');
} else {
this.url = options.url;
}
},
setTheme() {
const theme = this.GetTheme();