Uninstall plugins from sidebar
Summary: Added UI for uninstalling plugins from sidebar. To avoid confusion between "disable" and "uninstall" and to reduce possibility of errors when plugins uninstalled accidentally by misclicks, I made it only possible to uninstall plugins after they are disabled. So for enabled plugins two steps are required for uninstalling. Reviewed By: mweststrate Differential Revision: D25454117 fbshipit-source-id: 28e67dc1ff2d39ad67e6d2770302a996affd9723
This commit is contained in:
committed by
Facebook GitHub Bot
parent
97d37abbb2
commit
df03ccbeab
@@ -268,7 +268,7 @@ export default function createTableNativePlugin(id: string, title: string) {
|
||||
source: '',
|
||||
main: '',
|
||||
entry: '',
|
||||
isDefault: false,
|
||||
isDefault: true,
|
||||
};
|
||||
|
||||
static defaultPersistedState: PersistedState = {
|
||||
|
||||
Reference in New Issue
Block a user