Commit 25a6502 1 parent 149f3a7 commit 25a6502 Copy full SHA for 25a6502
File tree 2 files changed +15
-20
lines changed
2 files changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,7 @@ export default defineComponent({
110
110
});
111
111
112
112
const redirectRoute = () => {
113
- if (
114
- router.currentRoute.value.name === "alerts" &&
115
- store.state.selectedOrganization.status == "active"
116
- ) {
113
+ if (router.currentRoute.value.name === "alerts") {
117
114
router.push({
118
115
name: "alertList",
119
116
query: {
@@ -123,22 +120,22 @@ export default defineComponent({
123
120
}
124
121
};
125
122
const getTemplates = () => {
126
- if (store.state.selectedOrganization.status == "active") {
127
- templateService
128
- .list({
129
- org_identifier: store.state.selectedOrganization.identifier,
130
- })
131
- .then((res) => (templates.value = res.data));
132
- }
123
+ // if (store.state.selectedOrganization.status == "active") {
124
+ templateService
125
+ .list({
126
+ org_identifier: store.state.selectedOrganization.identifier,
127
+ })
128
+ .then((res) => (templates.value = res.data));
129
+ // }
133
130
};
134
131
const getDestinations = () => {
135
- if (store.state.selectedOrganization.status == "active") {
136
- destinationService
137
- .list({
138
- org_identifier: store.state.selectedOrganization.identifier,
139
- })
140
- .then((res) => (destinations.value = res.data));
141
- }
132
+ // if (store.state.selectedOrganization.status == "active") {
133
+ destinationService
134
+ .list({
135
+ org_identifier: store.state.selectedOrganization.identifier,
136
+ })
137
+ .then((res) => (destinations.value = res.data));
138
+ // }
142
139
};
143
140
144
141
return {
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ export default defineComponent({
147
147
const ingestTabType = ref("");
148
148
149
149
onBeforeMount(() => {
150
- console.log("on before mount");
151
150
const ingestRoutes = ["ingestLogs", "ingestTraces", "ingestMetrics"];
152
151
const logRoutes = [
153
152
"curl",
@@ -186,7 +185,6 @@ export default defineComponent({
186
185
organizationsService
187
186
.get_organization_passcode(store.state.selectedOrganization.identifier)
188
187
.then((res) => {
189
- console.log(res.data);
190
188
if (res.data.data.token == "") {
191
189
q.notify({
192
190
type: "negative",
You can’t perform that action at this time.
0 commit comments