BigW Consortium Gitlab

stop expanding form below window height

update lastOpenedAt for pending files
parent d995eb28
......@@ -36,7 +36,9 @@ export default {
},
watch: {
currentActivityView() {
this.isCompact = this.currentActivityView !== activityBarViews.commit;
this.isCompact = !(
this.currentActivityView === activityBarViews.commit && window.innerHeight >= 750
);
},
},
methods: {
......
......@@ -176,6 +176,7 @@ export default {
[file.path]: Object.assign(state.entries[file.path], {
opened: false,
active: false,
lastOpenedAt: new Date().getTime(),
}),
}),
openFiles: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment