Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
neSpecc committed Dec 20, 2024
1 parent d864840 commit a0f0695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions src/components/catalog/catchers/guides/sentry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@
</template>

<script>
import GuideSection from '../../GuideSection';
import GuideStepBlock from '../../GuideStepBlock';
import GuideHeader from '../../GuidePageHeader';
import TokenBlock from '../../../project/TokenBlock';
import CodeBlock from '../../../utils/CodeBlock';
import UiButton from '../../../utils/UiButton';
import { getSentryDSN } from '../../../../utils';
export default {
Expand All @@ -52,9 +49,6 @@ export default {
GuideStepBlock,
GuideHeader,
TokenBlock,
CodeBlock,
GuideSection,
UiButton,
},
data() {
return {
Expand Down
10 changes: 5 additions & 5 deletions src/components/project/settings/Integrations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ export default Vue.extend({
required: true,
},
},
computed: {
sentryDSN(): string {
return getSentryDSN(this.project.token);
},
},
methods: {
/**
* Revokes integration token with confirmation
Expand All @@ -87,11 +92,6 @@ export default Vue.extend({
});
},
},
computed: {
sentryDSN(): string {
return getSentryDSN(this.project.token);
},
},
});
</script>

Expand Down

0 comments on commit a0f0695

Please sign in to comment.