Browse Source

FE: Update topic deletion disabled message (#4092)

Roman Zabaluev 1 year ago
parent
commit
ac09efcd34

+ 2 - 2
kafka-ui-react-app/src/components/Topics/List/ActionsCell.tsx

@@ -86,9 +86,9 @@ const ActionsCell: React.FC<CellContext<Topic, unknown>> = ({ row }) => {
         Remove Topic
         {!isTopicDeletionAllowed && (
           <DropdownItemHint>
-            The topic deletion is restricted at the application
+            The topic deletion is restricted at the broker
             <br />
-            configuration level
+            configuration level (delete.topic.enable = false)
           </DropdownItemHint>
         )}
       </ActionDropdownItem>

+ 2 - 2
kafka-ui-react-app/src/components/Topics/Topic/Topic.tsx

@@ -162,9 +162,9 @@ const Topic: React.FC = () => {
             Remove Topic
             {!isTopicDeletionAllowed && (
               <DropdownItemHint>
-                The topic deletion is restricted at the application
+                The topic deletion is restricted at the broker
                 <br />
-                configuration level
+                configuration level (delete.topic.enable = false)
               </DropdownItemHint>
             )}
           </ActionDropdownItem>