Explorar o código

removed capabilities log

jusrhee %!s(int64=5) %!d(string=hai) anos
pai
achega
a541021715
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      dashboard/src/main/Main.tsx
  2. 0 1
      dashboard/src/main/home/Home.tsx

+ 0 - 1
dashboard/src/main/Main.tsx

@@ -59,7 +59,6 @@ export default class Main extends Component<PropsType, StateType> {
     api
     api
       .getCapabilities("", {}, {})
       .getCapabilities("", {}, {})
       .then((res) => {
       .then((res) => {
-        console.log(res.data);
         this.setState({ local: !res.data?.provisioner });
         this.setState({ local: !res.data?.provisioner });
       })
       })
       .catch((err) => console.log(err));
       .catch((err) => console.log(err));

+ 0 - 1
dashboard/src/main/home/Home.tsx

@@ -90,7 +90,6 @@ class Home extends Component<PropsType, StateType> {
     api
     api
       .getCapabilities("<token>", {}, {})
       .getCapabilities("<token>", {}, {})
       .then((res) => {
       .then((res) => {
-        console.log(res.data);
         this.context.setCapabilities(res.data);
         this.context.setCapabilities(res.data);
       })
       })
       .catch((err) => {
       .catch((err) => {