Clean up semicolons

This commit is contained in:
Ramon Wenger 2020-08-03 14:32:48 +02:00
parent bf42462988
commit 16c587ea59
195 changed files with 494 additions and 494 deletions

View File

@ -27,7 +27,7 @@ module.exports = {
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'indent': 'off',
'semi': 0,
'semi': ['error', 'always'],
'space-before-function-paren': 'off',
'comma-dangle': 'off',

View File

@ -36,7 +36,6 @@
import FullscreenInfographic from '@/components/FullscreenInfographic';
import FullscreenVideo from '@/components/FullscreenVideo';
import DeactivatePerson from '@/components/profile/DeactivatePerson';
import {mapGetters} from 'vuex';
import ScrollUp from '@/components/ScrollUp';
@ -79,7 +78,7 @@
return this.$modal.state.component;
}
},
}
};
</script>
<style lang="scss">

View File

@ -30,7 +30,7 @@
}
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -15,7 +15,7 @@
components: {
AddIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -35,16 +35,16 @@
computed: {
component() {
// only use the router link if the route prop is provided, otherwise render a normal anchor tag
return this.route ? 'router-link' : 'a'
return this.route ? 'router-link' : 'a';
},
properties() {
return this.route ? {
to: this.route,
tag: 'div'
} : {}
} : {};
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -56,7 +56,7 @@
data() {
return {
me: {}
}
};
},
computed: {
@ -72,13 +72,13 @@
methods: {
submissionLink(submission) {
return `/submission/${submission.id}`
return `/submission/${submission.id}`;
},
belongsToSchool(submission) {
if (this.currentFilter.id === '') {
return true;
}
return submission.student.schoolClasses.edges.some(edge => edge.node.id === this.currentFilter.id)
return submission.student.schoolClasses.edges.some(edge => edge.node.id === this.currentFilter.id);
}
},
@ -86,7 +86,7 @@
me: meQuery
}
}
};
</script>
<style scoped lang="scss">

View File

@ -52,14 +52,14 @@
data() {
return {
me: {}
}
};
},
computed: {
...mapGetters(['editModule']),
filteredContentBlocks() {
if (!(this.chapter && this.chapter.contentBlocks)) {
return []
return [];
}
if (this.editModule) {
return this.chapter.contentBlocks;
@ -102,7 +102,7 @@
chapter.bookmark = {
__typename: 'ChapterBookmarkNode',
note: null
}
};
} else {
chapter.bookmark = null;
}
@ -138,7 +138,7 @@
apollo: {
me: meQuery
}
}
};
</script>
<style scoped lang="scss">

View File

@ -31,5 +31,5 @@
this.$emit('input', ...arguments);
}
}
}
};
</script>

View File

@ -43,9 +43,9 @@
name: 'green'
}
]
}
};
},
}
};
</script>
<style scoped lang="scss">

View File

@ -89,7 +89,7 @@
return {
showVisibility: false,
me: {}
}
};
},
computed: {
@ -141,7 +141,7 @@
let newContent = this.contentBlock.contents.reduce((newContents, content, index) => {
// collect content_list_items
if (content.type === 'content_list_item') {
contentList = [...contentList, content]
contentList = [...contentList, content];
if (index === this.contentBlock.contents.length - 1) { // content is last element of contents array
let updatedContent = [...newContents, ...this.createContentListOrBlocks(contentList, startingIndex)];
startingIndex = this.updateStartingIndex(startingIndex, contentList);
@ -240,7 +240,7 @@
apollo: {
me: meQuery
}
}
};
</script>
<style scoped lang="scss">

View File

@ -23,7 +23,7 @@
return this.$store.state.imageUrl;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -28,8 +28,8 @@
value() {
return {
id: this.id
}
};
}
}
}
};
</script>

View File

@ -32,7 +32,7 @@
return `https://player.vimeo.com/video/${this.vimeoId}`;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -41,7 +41,7 @@
CurrentClass,
Hamburger
},
}
};
</script>
<style scoped lang="scss">

View File

@ -18,7 +18,7 @@
components: {
InfoIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -16,11 +16,11 @@
this.$apollo.mutate({
mutation: LOGOUT_MUTATION,
}).then(({data}) => {
if (data.logout.success) { location.replace('/logout') }
if (data.logout.success) { location.replace('/logout'); }
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -35,7 +35,7 @@
this.$store.dispatch('showMobileNavigation', true);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -54,7 +54,7 @@
this.$store.dispatch('hideModal');
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -17,7 +17,7 @@
<script>
export default {
props: ['value', 'error', 'placeholder']
}
};
</script>
<style scoped lang="scss">

View File

@ -27,9 +27,9 @@
data() {
return {
showMenu: false
}
};
}
}
};
</script>
<style scoped lang="scss">

View File

@ -29,5 +29,5 @@
this.$emit('input', ...arguments);
}
}
}
};
</script>

View File

@ -20,14 +20,14 @@
data() {
return {
scroll: 0
}
};
},
mounted() {
let html = document.scrollingElement;
document.body.onscroll = () => {
this.scroll = html.scrollTop;
}
};
},
destroyed() {
@ -39,7 +39,7 @@
document.scrollingElement.scrollTop = 0;
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -41,7 +41,7 @@
}
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -45,7 +45,7 @@
button.click();
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -53,7 +53,7 @@
? `${this.submission.student.firstName} ${this.submission.student.lastName}` : '';
},
},
}
};
</script>
<style scoped lang="scss">

View File

@ -10,7 +10,7 @@
<script>
import DocumentIcon from '@/components/icons/DocumentIcon'
import DocumentIcon from '@/components/icons/DocumentIcon';
import filenameFromUrl from '@/helpers/urls';
export default {
@ -20,10 +20,10 @@
computed: {
filename() {
return filenameFromUrl(this.document)
return filenameFromUrl(this.document);
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -19,7 +19,7 @@
components: {
Avatar
}
}
};
</script>
<style scoped lang="scss">

View File

@ -49,7 +49,7 @@
return this.$route.meta.isProfile;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -17,7 +17,7 @@
this.$emit('hide-me');
},
}
}
};
</script>
<style scoped lang="scss">

View File

@ -31,12 +31,12 @@
data() {
return {
topics: []
}
};
},
methods: {
topicId(id) {
return atob(id)
return atob(id);
}
},
@ -46,12 +46,12 @@
manual: true,
result({data, loading, networkStatus}) {
if (!loading) {
this.topics = this.$getRidOfEdges(data).topics
this.topics = this.$getRidOfEdges(data).topics;
}
}
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -111,7 +111,7 @@
this.closeSidebar('navigation');
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -36,7 +36,7 @@
data() {
return {
me: {}
}
};
},
methods: {
@ -48,7 +48,7 @@
apollo: {
me: meQuery
},
}
};
</script>
<style scoped lang="scss">

View File

@ -33,7 +33,7 @@
data() {
return {
show: false
}
};
},
watch: {
@ -47,5 +47,5 @@
this.show = false;
}
}
}
};
</script>

View File

@ -137,7 +137,7 @@
isAssignment: this.contentBlock.type && this.contentBlock.type === 'TASK'
}),
me: {}
}
};
},
apollo: {
@ -169,7 +169,7 @@
case 'document_block':
return 'document-form';
}
return 'content-block-element-chooser-widget'
return 'content-block-element-chooser-widget';
},
_updateProperty(value, index, key) {
const content = this.localContentBlock.contents[index];
@ -182,28 +182,28 @@
});
},
changeLinkUrl(value, index) {
this._updateProperty(value, index, 'url')
this._updateProperty(value, index, 'url');
},
changeLinkText(value, index) {
this._updateProperty(value, index, 'text')
this._updateProperty(value, index, 'text');
},
changeVideoUrl(value, index) {
this._updateProperty(value, index, 'url')
this._updateProperty(value, index, 'url');
},
changeImageUrl(value, index) {
this._updateProperty(value, index, 'url')
this._updateProperty(value, index, 'url');
},
changeDocumentUrl(value, index) {
this._updateProperty(value, index, 'url')
this._updateProperty(value, index, 'url');
},
changeTextValue(value, index) {
this._updateProperty(value, index, 'text')
this._updateProperty(value, index, 'text');
},
changeAssignmentTitle(value, index) {
this._updateProperty(value, index, 'title')
this._updateProperty(value, index, 'title');
},
changeAssignmentAssignment(value, index) {
this._updateProperty(value, index, 'assignment')
this._updateProperty(value, index, 'assignment');
},
removeElement(index) {
this.localContentBlock.contents.splice(index, 1);
@ -211,7 +211,7 @@
addElement(index) {
this.localContentBlock.contents.splice(index + 1, 0, {
hideAssignment: this.blockType !== 'ContentBlock'
})
});
},
updateTitle(title) {
this.localContentBlock.title = title;
@ -281,10 +281,10 @@
this.localContentBlock.isAssignment = checked;
},
switchToDocument(index, value) {
this.changeType(index, 'document_block', value)
this.changeType(index, 'document_block', value);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -15,7 +15,7 @@
import EDIT_CONTENT_BLOCK_MUTATION from '@/graphql/gql/mutations/mutateContentBlock.gql';
import MODULE_DETAILS_QUERY from '@/graphql/gql/moduleDetailsQuery.gql';
import CONTENT_BLOCK_QUERY from '@/graphql/gql/contentBlockQuery.gql';
import { setUserBlockType } from '@/helpers/content-block'
import { setUserBlockType } from '@/helpers/content-block';
export default {
components: {
@ -25,7 +25,7 @@
data() {
return {
contentBlock: {}
}
};
},
created() {
@ -69,9 +69,9 @@
variables: {
id: store.state.currentNoteBlock
}
}
};
}
}
}
};
</script>

View File

@ -13,7 +13,7 @@
import NEW_CONTENT_BLOCK_MUTATION from '@/graphql/gql/mutations/addContentBlock.gql';
import MODULE_DETAILS_QUERY from '@/graphql/gql/moduleDetailsQuery.gql';
import {setUserBlockType} from '@/helpers/content-block'
import {setUserBlockType} from '@/helpers/content-block';
export default {
components: {
@ -29,7 +29,7 @@
]
},
saving: false
}
};
},
methods: {
@ -64,5 +64,5 @@
});
}
},
}
};
</script>

View File

@ -40,7 +40,7 @@
bookmarks: this.parent.bookmarks,
notes: this.parent.notes,
root: this.parent.id
})
});
});
}
},
@ -50,7 +50,7 @@
return String.fromCharCode(lowerAsciiA + this.startingIndex + index);
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -33,12 +33,12 @@
urlName: function() {
if (this.value && this.value.url) {
const parts = this.value.url.split('/');
return parts[parts.length - 1]
return parts[parts.length - 1];
}
return null;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -34,7 +34,7 @@
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -15,7 +15,7 @@
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -15,7 +15,7 @@
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -18,7 +18,7 @@
data() {
return {
height: 0
}
};
},
computed: {
@ -26,13 +26,13 @@
return `https://e.infogram.com/${this.id}?src=embed`;
},
href() {
return `https://infogram.com/${this.id}`
return `https://infogram.com/${this.id}`;
},
id() {
return this.value.id;
},
title() {
return this.value.title || 'Infografik'
return this.value.title || 'Infografik';
}
},
@ -63,7 +63,7 @@
});
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -24,10 +24,10 @@
computed: {
text() {
return this.value.text ? this.value.text : 'Anweisungen'
return this.value.text ? this.value.text : 'Anweisungen';
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -14,7 +14,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -31,7 +31,7 @@
return url.startsWith('http') ? this.value.url : `http://${this.value.url}`;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -10,7 +10,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -7,7 +7,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -26,7 +26,7 @@
data() {
return {
visible: false
}
};
},
methods: {
@ -34,7 +34,7 @@
this.visible = !this.visible;
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -7,7 +7,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -12,7 +12,7 @@
<script>
export default {
props: ['value'],
}
};
</script>
<style scoped lang="scss">

View File

@ -9,7 +9,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -7,7 +7,7 @@
<script>
export default {
props: ['value']
}
};
</script>
<style scoped lang="scss">

View File

@ -36,7 +36,7 @@
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -39,7 +39,7 @@
return isSrfUrl(this.value.url);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -54,7 +54,7 @@
import UPDATE_ASSIGNMENT_MUTATION_WITH_SUCCESS from '@/graphql/gql/mutations/updateAssignmentMutationWithSuccess.gql';
import SPELL_CHECK_MUTATION from '@/graphql/gql/mutations/spellCheck.gql';
import debounce from 'lodash/debounce';
import cloneDeep from 'lodash/cloneDeep'
import cloneDeep from 'lodash/cloneDeep';
import SubmissionForm from '@/components/content-blocks/assignment/SubmissionForm';
import Solution from '@/components/content-blocks/Solution';
@ -82,16 +82,16 @@
saving: 0,
corrections: '',
spellcheckLoading: false
}
};
},
computed: {
...mapGetters(['scrollToAssignmentId']),
final() {
return !!this.submission && this.submission.final
return !!this.submission && this.submission.final;
},
submission() {
return this.assignment.submission ? this.assignment.submission : {}
return this.assignment.submission ? this.assignment.submission : {};
},
isStudent() {
return !this.me.permissions.includes('users.can_manage_school_class_content');
@ -99,10 +99,10 @@
solution() {
return {
text: this.assignment.solution
}
};
},
id() {
return this.assignment.id ? this.assignment.id.replace(/=/g, '') : ''
return this.assignment.id ? this.assignment.id.replace(/=/g, '') : '';
},
feedbackText() {
let feedback = this.assignment.submission.submissionFeedback;
@ -203,7 +203,7 @@
text: '',
document: '',
final: false,
}
};
},
spellcheck() {
let self = this;
@ -231,7 +231,7 @@
variables() {
return {
id: this.value.id
}
};
},
result(response) {
const data = response.data;
@ -246,7 +246,7 @@
query: ME_QUERY
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -33,7 +33,7 @@
return newLineToParagraph(this.userInput.text);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -13,7 +13,7 @@
computed: {
highlightedText() {
if (!this.corrections) {
return ''
return '';
}
let parts = [];
let index = 0;
@ -28,7 +28,7 @@
correct: false,
text: this.text.substring(realOffset, realOffset + current.length)
});
index = realOffset + current.length
index = realOffset + current.length;
});
parts.push({
correct: true,
@ -45,7 +45,7 @@
}, '');
}
}
}
};
</script>
<style lang="scss">

View File

@ -84,16 +84,16 @@
computed: {
final() {
return !!this.userInput && this.userInput.final
return !!this.userInput && this.userInput.final;
},
allowsDocuments() {
return 'document' in this.userInput;
},
spellcheckText() {
if (!this.spellcheckLoading) {
return 'Rechtschreibung prüfen'
return 'Rechtschreibung prüfen';
} else {
return 'Wird geprüft...'
return 'Wird geprüft...';
}
}
},
@ -110,7 +110,7 @@
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -40,7 +40,7 @@
TickCircleIcon,
LoadingIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -28,7 +28,7 @@
components: {
InfoIcon
}
}
};
</script>
<style scoped lang="scss">
@import "@/styles/_variables.scss";

View File

@ -74,7 +74,7 @@
SpeechBubbleIcon,
DocumentIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -39,7 +39,7 @@
previewLink() {
if (this.value && this.value.url) {
const parts = this.value.url.split('/');
return parts[parts.length - 1]
return parts[parts.length - 1];
}
return '';
}
@ -47,10 +47,10 @@
mounted() {
uploadcare(this, url => {
this.$emit('link-change-url', url, this.index)
this.$emit('link-change-url', url, this.index);
});
},
}
};
</script>
<style scoped lang="scss">

View File

@ -30,7 +30,7 @@
uploadcarePanel: null,
url: '',
filename: ''
}
};
},
computed: {
previewUrl: function () {
@ -62,7 +62,7 @@
this.hadError = false;
this.url = fileInfo.cdnUrl;
this.filename = fileInfo.name;
this.$emit('link-change-url', fileInfo.cdnUrl, this.index)
this.$emit('link-change-url', fileInfo.cdnUrl, this.index);
});
panelResult.progress(p => {
@ -78,7 +78,7 @@
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -17,7 +17,7 @@
<script>
export default {
props: ['value', 'index']
}
};
</script>
<style scoped lang="scss">

View File

@ -18,7 +18,7 @@
return this.value.text ? this.value.text.replace(/<br(\/)?>/, '\n').replace(/(<([^>]+)>)/ig, '') : '';
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -25,10 +25,10 @@
v() {
return {
text: this.value
}
};
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -64,7 +64,7 @@
return isSrfUrl(this.value.url);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -18,7 +18,7 @@
<script>
export default {
props: ['bookmarked']
}
};
</script>
<style scoped lang="scss">

View File

@ -39,5 +39,5 @@
Tick,
CircleIcon
}
}
};
</script>

View File

@ -43,7 +43,7 @@
cls: 'interdisciplinary'
},
]
}
};
},
methods: {
@ -61,10 +61,10 @@
this.types
.filter(t => t.enabled)
.map(t => t.prop)
)
);
}
},
}
};
</script>
<style scoped lang="scss">

View File

@ -98,7 +98,7 @@
},
created() {
this.updateLastVisitedModule(this.module.id)
this.updateLastVisitedModule(this.module.id);
},
methods: {
@ -119,7 +119,7 @@
let newRecentModules;
let index = recentModules.findIndex(element => element.node.id === lastModule.id);
if (index > -1) {
newRecentModules = [...recentModules.slice(0, index), ...recentModules.slice(index + 1)]
newRecentModules = [...recentModules.slice(0, index), ...recentModules.slice(index + 1)];
} else if (recentModules.length >= 3) {
newRecentModules = recentModules.slice(0, recentModules.length - 1);
} else {
@ -156,7 +156,7 @@
store.writeQuery({query: OBJECTIVE_QUERY, data, variables});
}
}
})
});
},
bookmark(bookmarked) {
const slug = this.module.slug;
@ -180,7 +180,7 @@
data.bookmark = {
__typename: 'ModuleBookmarkNode',
note: null
}
};
} else {
data.bookmark = null;
}
@ -210,7 +210,7 @@
this.$store.dispatch('editNote', this.module.bookmark.note);
},
},
}
};
</script>
<style scoped lang="scss">

View File

@ -90,7 +90,7 @@
me: {
permissions: []
}
}
};
},
computed: {
@ -116,7 +116,7 @@
methods: {
chapterId(index) {
return `#chapter-${index}`
return `#chapter-${index}`;
},
submissionsLink(assignment) {
return `/module/${this.module.slug}/submissions/${assignment.value.id}`;
@ -152,7 +152,7 @@
node.value.forEach(contentNode => {
foundAssignments = this.concatAssignments(foundAssignments, contentNode);
});
return this.flattenArray(foundAssignments)
return this.flattenArray(foundAssignments);
} else {
return null;
}
@ -162,7 +162,7 @@
return [].concat.apply([], arrayToFlatten);
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -26,10 +26,10 @@
params: {
slug: this.slug
}
}
};
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -21,11 +21,11 @@
teaser: {
type: Object,
default: () => {
return {}
return {};
}
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -18,7 +18,7 @@
<script>
export default {
props: ['title', 'date', 'url']
}
};
</script>
<style scoped lang="scss">

View File

@ -11,7 +11,7 @@
<script>
import NewsTeaser from '@/components/news/NewsTeaser';
import news from '@/mixins/news'
import news from '@/mixins/news';
export default {
mixins: [news],

View File

@ -34,7 +34,7 @@
AddNoteIcon,
NoteIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -43,14 +43,14 @@
variables: {
slug
}
}
};
} else {
query = {
query: MODULE_DETAILS_QUERY,
variables: {
slug
}
}
};
}
return [query];
}
@ -62,5 +62,5 @@
this.$store.dispatch('hideModal');
}
}
}
};
</script>

View File

@ -19,7 +19,7 @@
data() {
return {
note: {}
}
};
},
computed: {
@ -40,12 +40,12 @@
block,
text,
type
}
};
} else {
note = {
parent,
text
}
};
}
this.$apollo
@ -56,5 +56,5 @@
this.$store.dispatch('hideModal');
}
}
}
};
</script>

View File

@ -40,7 +40,7 @@
...this.note
}
)
}
};
}
}
};
</script>

View File

@ -38,7 +38,7 @@
return {
text: '',
saving: false
}
};
},
computed: {
@ -88,5 +88,5 @@
this.$store.dispatch('hideModal');
}
}
}
};
</script>

View File

@ -47,13 +47,13 @@
data() {
return {
me: {}
}
};
},
computed: {
...mapGetters(['editModule']),
hidden() {
return isHidden(this.objective, this.schoolClass)
return isHidden(this.objective, this.schoolClass);
},
canEdit() {
return this.objective.mine;
@ -95,7 +95,7 @@
apollo: {
me: meQuery
},
}
};
</script>
<style scoped lang="scss">

View File

@ -26,7 +26,7 @@
ModalInput,
TrashIcon
}
}
};
</script>
<style scoped lang="scss">

View File

@ -54,7 +54,7 @@
return this.me.selectedClass;
},
},
}
};
</script>
<style scoped lang="scss">

View File

@ -34,7 +34,7 @@
me: {
permissions: []
}
}
};
},
computed: {
@ -61,5 +61,5 @@
this.$emit('updateObjectiveProgress', checked, id);
}
}
}
};
</script>

View File

@ -18,7 +18,7 @@
<script>
export default {
props: ['title']
}
};
</script>
<style scoped lang="scss">

View File

@ -31,7 +31,7 @@
data() {
return {
id: null
}
};
},
computed: {
@ -39,14 +39,14 @@
return `page-form-input__${this.type} skillbox-${this.type}`;
},
cyId() {
return `page-form-input-${this.label.toLowerCase()}`
return `page-form-input-${this.label.toLowerCase()}`;
}
},
created() {
this.id = this._uid;
},
}
};
</script>
<style scoped lang="scss">

View File

@ -11,5 +11,5 @@
components: {
AddWidget
}
}
};
</script>

View File

@ -19,5 +19,5 @@
this.$store.dispatch('addProjectEntry', this.project);
}
}
}
};
</script>

View File

@ -37,5 +37,5 @@
});
}
},
}
};
</script>

View File

@ -21,7 +21,7 @@
data() {
return {
projectEntry: {}
}
};
},
apollo: {
@ -31,7 +31,7 @@
variables: {
id: this.currentProjectEntry
}
}
};
}
},
@ -56,5 +56,5 @@
this.$store.dispatch('hideModal');
}
},
}
};
</script>

View File

@ -24,7 +24,7 @@
nextSteps: '',
documentUrl: ''
}
}
};
},
computed: {
@ -68,5 +68,5 @@
this.$store.dispatch('hideModal');
}
},
}
};
</script>

View File

@ -21,10 +21,10 @@
computed: {
name() {
return `${this.owner.firstName} ${this.owner.lastName}`
return `${this.owner.firstName} ${this.owner.lastName}`;
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -43,12 +43,12 @@
data() {
return {
showMenu: false
}
};
},
methods: {
toggleMenu: function () {
this.showMenu = !this.showMenu
this.showMenu = !this.showMenu;
},
editProject(id) {
this.$router.push({name: 'edit-project', params: {id}});
@ -99,10 +99,10 @@
}
}
}
})
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -80,10 +80,10 @@
}
}
}
})
});
}
}
}
};
</script>
<style scoped lang="scss">

View File

@ -55,7 +55,7 @@
localProjectEntry: Object.assign({}, {
...this.projectEntry
})
}
};
},
computed: {
@ -71,5 +71,5 @@
this.localProjectEntry.documentUrl = url;
},
}
}
};
</script>

View File

@ -51,7 +51,7 @@
data() {
return {
localProject: Object.assign({}, this.project),
}
};
},
computed: {
@ -74,5 +74,5 @@
this.$store.dispatch('setSpecialContainerClass', newColor);
}
},
}
};
</script>

View File

@ -49,7 +49,7 @@
},
},
}
};
</script>
<style scoped lang="scss">

View File

@ -22,7 +22,7 @@
components: {
ChevronRight
}
}
};
</script>
<style scoped lang="scss">

View File

@ -23,9 +23,9 @@
{tag: 'bookmarks', label: 'Lesezeichen'},
{tag: 'notes', label: 'Notizen'},
]
}
};
}
}
};
</script>
<style scoped lang="scss">

Some files were not shown because too many files have changed in this diff Show More