mirror of https://github.com/rancher/dashboard.git
remove references to window.c (#12281)
This commit is contained in:
parent
f73694d81d
commit
73bff036c5
|
|
@ -573,10 +573,6 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
window.c = this;
|
||||
},
|
||||
|
||||
methods: {
|
||||
toggleScaleDownModal( event, resources ) {
|
||||
// Check if the user held alt key when an action is clicked.
|
||||
|
|
|
|||
|
|
@ -147,11 +147,7 @@ export default {
|
|||
$loadingResources() {
|
||||
// results are filtered so we wouldn't get the correct count on indicator...
|
||||
return { loadIndeterminate: true };
|
||||
},
|
||||
|
||||
mounted() {
|
||||
window.c = this;
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -247,12 +247,6 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
if ( typeof window !== 'undefined' ) {
|
||||
window.c = this;
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
colorForChart(chart) {
|
||||
const repos = this.repoOptions;
|
||||
|
|
|
|||
Loading…
Reference in New Issue