From 3db02807d2b6c56e57f12cefc7c4c030b4b38c0d Mon Sep 17 00:00:00 2001 From: Cody Jackson Date: Thu, 17 Apr 2025 15:09:41 -0700 Subject: [PATCH] Disabling the edit and create buttons Rancher no longer supplies the appropriate fields to render the dynamic forms. - `resourceFields` is now null - `resourceDefinitions` doesn't supply the `update/create fields` Fixes https://github.com/rancher/dashboard/issues/14139 --- README.md | 6 +++--- package.json | 2 +- templates/body.hbs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0dd821d..084e033 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ Please submit bugs and issues to [rancher/dashboard](//github.com/rancher/dashbo Or just [click here](//github.com/rancher/dashboard/issues/new?title=%5BAPI%20UI%5D%20) to create a new issue. -## License - -Copyright (c) 2014-2024 [Rancher Labs, Inc.](http://rancher.com) +License +======= +Copyright (c) 2014-2025 [SUSE](https://www.suse.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/package.json b/package.json index dfaf91b..784cbbb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "api-ui", - "version": "1.1.11", + "version": "1.1.12", "description": "Embedded UI for any service that implements the Rancher API spec", "author": "SUSE", "license": "Apache-2.0", diff --git a/templates/body.hbs b/templates/body.hbs index bfc790e..3764bc0 100644 --- a/templates/body.hbs +++ b/templates/body.hbs @@ -5,12 +5,12 @@
- {{#if operations.post}} + {{!-- {{#if operations.post}} {{/if}} {{#if operations.put}} - {{/if}} + {{/if}} --}} {{#if operations.delete}} {{/if}}