Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EXSYS2021
da6
Hold Afstand
Commits
c87445d6
Commit
c87445d6
authored
May 07, 2021
by
Anders B. Clausen
Browse files
Moved deleting and resizing in to data
parent
f92d0fe9
Pipeline
#52476
passed with stage
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
website/studerende-dk/src/views/Home.vue
View file @
c87445d6
...
...
@@ -54,8 +54,6 @@ const maxBlocks = 3;
export
default
{
name
:
'
Home
'
,
deleting
:
false
,
resizing
:
false
,
created
()
{
this
.
loadLayout
(
"
isaac
"
);
...
...
@@ -83,7 +81,9 @@ export default {
prevWinWidth
:
1000
,
draggedBlock
:
null
,
activePreview
:
null
,
dragEnabled
:
true
dragEnabled
:
true
,
deleting
:
false
,
resizing
:
false
}
},
...
...
@@ -467,6 +467,8 @@ export default {
const
request
=
sendServerRequest
(
type
,
payload
);
request
.
onload
=
()
=>
{
const
response
=
request
.
response
;
// Resetting layout to get Object.assign to work
this
.
layout
=
[];
Object
.
assign
(
this
.
layout
,
JSON
.
parse
(
response
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment