mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 04:23:01 +00:00
Fixed bug where users where deleted when changing group properties
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
import React, { useState } from "react";
|
||||
import "./table-select.css";
|
||||
|
||||
function hasDuplicates(array) {
|
||||
var valuesSoFar = Object.create(null);
|
||||
for (var i = 0; i < array.length; ++i) {
|
||||
var value = array[i];
|
||||
if (value in valuesSoFar) {
|
||||
return true;
|
||||
}
|
||||
valuesSoFar[value] = true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
export default class DynamicTable extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
Reference in New Issue
Block a user