Fix bug with kubs tab and remove dupilcate code
Fix bug with kubs tab and remove dupilcate code

rancher/ui,nrvale0/ui,nrvale0/ui,westlywright/ui,westlywright/ui,rancher/ui,vincent99/ui,vincent99/ui,nrvale0/ui,rancherio/ui,rancherio/ui,vincent99/ui,lvuch/ui,lvuch/ui,pengjiang80/ui,westlywright/ui,rancherio/ui,pengjiang80/ui,rancher/ui,pengjiang80/ui,lvuch/ui