Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed May 2, 2024
1 parent f371665 commit 1a74b1e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,18 +197,14 @@ public static ArrayList<ConfigFieldInfo> getConfigFieldsInfo(Start start) {

JsonElement value = tenantConfig.get(field.getName());

String[] possibleValues = null; // TODO later, since none of them are enums right now
boolean isConfigYamlOnly = false; // TODO later, since there are no such fields right now
boolean isSaasProtected = false; // TODO

JsonElement defaultValue = defaultConfig.get(field.getName());
boolean isNullable = defaultValue == null;

boolean isEditable = field.isAnnotationPresent(EditableInDashboard.class);

result.add(new ConfigFieldInfo(
key, valueType, value, description, isDifferentAcrossTenants,
possibleValues, isNullable, defaultValue, true, isEditable));
null, isNullable, defaultValue, true, isEditable));

} catch (NoSuchFieldException e) {
continue;
Expand Down

0 comments on commit 1a74b1e

Please sign in to comment.